Date: Wednesday, January 14, 2015 @ 15:35:11 Author: arodseth Revision: 125919
upgpkg: tuxpaint-config 0.0.13-1 Modified: tuxpaint-config/trunk/PKGBUILD ----------+ PKGBUILD | 29 +++++++++++------------------ 1 file changed, 11 insertions(+), 18 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2015-01-14 13:58:46 UTC (rev 125918) +++ PKGBUILD 2015-01-14 14:35:11 UTC (rev 125919) @@ -3,8 +3,8 @@ # Contributor: royrocks <royrock...@gmail.com> pkgname=tuxpaint-config -pkgver=0.0.12 -pkgrel=3 +pkgver=0.0.13 +pkgrel=1 pkgdesc='Tux Paint configuration tool' arch=('x86_64' 'i686') url='http://www.tuxpaint.org' @@ -11,27 +11,20 @@ license='GPL' depends=('tuxpaint' 'fltk' 'libxft' 'libxext') source=("http://downloads.sourceforge.net/sourceforge/tuxpaint/$pkgname-$pkgver.tar.gz") -sha256sums=('9395a1c92e52c3420cabaa0c781b607e6832b5d9b6180902615f102216e1c8fd') +sha256sums=('db38058f1e1cc60b15bcaf565118fe41dc9be20435e1b787c607f95d0dd122fc') build() { - cd $srcdir/$pkgname-$pkgver - - make PREFIX=/usr + make -C "$pkgname-$pkgver" PREFIX=/usr } package() { - cd $srcdir/$pkgname-$pkgver - - install -d -m755 $pkgdir/usr/bin/ - install -d -m644 $pkgdir/opt/kde/share/icons/hicolor/48x48/apps/ - install -d -m644 $pkgdir/opt/kde/share/icons/hicolor/32x32/apps/ - install -d -m644 $pkgdir/opt/kde/share/icons/hicolor/16x16/apps/ - - make PREFIX=$pkgdir/usr DESTDIR=$pkgdir KDE_PREFIX=$pkgdir/opt/kde \ - KDE_ICON_PREFIX=$pkgdir/opt/kde/share/icons install - - install -D -m644 src/tuxpaint-config.desktop \ - $pkgdir/usr/share/applications/tuxpaint-config.desktop + cd "$pkgname-$pkgver" + install -d "$pkgdir/usr/bin/" \ + "$pkgdir/opt/kde/share/icons/hicolor/"{16x16,32x32,48x48}"/apps/" + make PREFIX="$pkgdir/usr" DESTDIR="$pkgdir" KDE_PREFIX="$pkgdir/opt/kde" \ + KDE_ICON_PREFIX="$pkgdir/opt/kde/share/icons" install + install -Dm644 src/tuxpaint-config.desktop \ + "$pkgdir/usr/share/applications/tuxpaint-config.desktop" } # vim:set ts=2 sw=2 et: