summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorMuflone2015-06-13 17:59:17 +0200
committerMuflone2015-06-13 17:59:17 +0200
commit3c7eae07883d93c1f6b9fc23685a099c3d045427 (patch)
tree4ffb79975e98020a791583e7d1fc53c7eeb5835d /PKGBUILD
downloadaur-gextractwinicons-git.tar.gz
Initial import
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD32
1 files changed, 32 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..189ceffca09
--- /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}"
+}
+