diff options
Diffstat (limited to 'community/png2ico/PKGBUILD')
-rw-r--r-- | community/png2ico/PKGBUILD | 19 |
1 files changed, 13 insertions, 6 deletions
diff --git a/community/png2ico/PKGBUILD b/community/png2ico/PKGBUILD index 8a5f7a330..ef13d303d 100644 --- a/community/png2ico/PKGBUILD +++ b/community/png2ico/PKGBUILD @@ -1,8 +1,11 @@ -# $Id: PKGBUILD 8479 2010-01-20 08:15:47Z dgriffiths $ +# $Id: PKGBUILD 63710 2012-02-05 12:08:36Z ibiru $ +# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Contributor: dibblethewrecker dibblethewrecker.at.jiwe.dot.org +# Maintainer: Daniel J Griffiths <ghost1227@archlinux.us> + pkgname=png2ico pkgver=20021208 -pkgrel=4 +pkgrel=5 arch=('i686' 'x86_64') pkgdesc="Converts PNG files to Windows icon resource files" url="http://www.winterdrache.de/freeware/png2ico/" @@ -12,8 +15,12 @@ source=(http://www.winterdrache.de/freeware/png2ico/data/$pkgname-src-2002-12-08 md5sums=('9b663df81c826cd564638cba2e6bc75b') build() { - cd $srcdir/$pkgname - make || return 1 - install -D -m755 png2ico $pkgdir/usr/bin/png2ico - install -D -m644 doc/png2ico.1 $pkgdir/usr/share/man/man1/png2ico.1 + cd ${srcdir}/${pkgname} + make +} + +package() { + cd ${srcdir}/${pkgname} + install -D -m755 png2ico ${pkgdir}/usr/bin/png2ico + install -D -m644 doc/png2ico.1 ${pkgdir}/usr/share/man/man1/png2ico.1 } |