diff options
author | Muflone | 2015-06-13 17:59:17 +0200 |
---|---|---|
committer | Muflone | 2015-06-13 17:59:17 +0200 |
commit | 3c7eae07883d93c1f6b9fc23685a099c3d045427 (patch) | |
tree | 4ffb79975e98020a791583e7d1fc53c7eeb5835d /PKGBUILD | |
download | aur-3c7eae07883d93c1f6b9fc23685a099c3d045427.tar.gz |
Initial import
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..189ceffca09d --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,32 @@ +# Maintainer: Muflone http://url.muflone.com/contacts + +pkgname=gextractwinicons-git +pkgver=0.4.2.g77d95e2 +pkgrel=1 +pkgdesc="Extract cursors and icons from MS Windows compatible resource files" +url="http://url.muflone.com/gextractwinicons" +arch=('any') +license=('GPL2') +depends=('gtk3' 'gobject-introspection' 'python2-xdg' 'python2-gobject' 'gtk-update-icon-cache' 'icoutils') +makedepends=('git') +provides=('gextractwinicons') +conflicts=('gextractwinicons') +source=("git+https://github.com/muflone/gextractwinicons.git") +md5sums=('SKIP') +install="${pkgname}.install" + +pkgver() { + cd "${pkgname%-*}" + git describe --always | sed 's|-|.|g' +} + +build() { + cd "${pkgname%-*}" + python2 setup.py build +} + +package() { + cd "${pkgname%-*}" + python2 setup.py install --optimize=1 --root "${pkgdir}" +} + |