diff options
author | root <root@rshg054.dnsready.net> | 2013-08-13 01:33:19 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-08-13 01:33:19 -0700 |
commit | 7a65a910b77ad191d69881098c47f9b0c852d92e (patch) | |
tree | 9564e611af1442f8952a8cbddb3b0ad25ed71aab /community/png2ico/PKGBUILD | |
parent | 60da6abff6c9577a783d72865f11de7a585e912e (diff) |
Tue Aug 13 01:31:08 PDT 2013
Diffstat (limited to 'community/png2ico/PKGBUILD')
-rw-r--r-- | community/png2ico/PKGBUILD | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/community/png2ico/PKGBUILD b/community/png2ico/PKGBUILD new file mode 100644 index 000000000..7f43bcae4 --- /dev/null +++ b/community/png2ico/PKGBUILD @@ -0,0 +1,27 @@ +# $Id: PKGBUILD 90078 2013-05-06 19:39:06Z foutrelis $ +# 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=6 +arch=('i686' 'x86_64') +pkgdesc="Converts PNG files to Windows icon resource files" +url="http://www.winterdrache.de/freeware/png2ico/" +license=("GPL2") +depends=('libpng' 'gcc') +source=(http://www.winterdrache.de/freeware/png2ico/data/$pkgname-src-2002-12-08.tar.gz) +md5sums=('9b663df81c826cd564638cba2e6bc75b') + +build() { + cd ${srcdir}/${pkgname} + sed -i '1,1i#include <string.h>' png2ico.cpp + 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 +} |