summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 8d931efdce9eb2b353aa309bfd39c649d55c8110 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Maintainer: Muflone http://www.muflone.com/contacts/english/

pkgname=gextractwinicons-git
pkgver=0.5.2
pkgrel=1
pkgdesc="Extract cursors and icons from MS Windows compatible resource files"
url="http://www.muflone.com/gextractwinicons"
arch=('any')
license=('GPL3')
makedepends=('git' 'python-setuptools' 'gettext')
depends=('gtk3' 'gobject-introspection' 'python-xdg' 'python-gobject' 'icoutils')
provides=('gextractwinicons')
conflicts=('gextractwinicons')
source=("git+https://github.com/muflone/gextractwinicons.git")
sha256sums=('SKIP')

pkgver() {
  cd "${pkgname%-*}"
  git describe --always | sed 's|-|.|g'
}

build() {
  cd "${pkgname%-*}"
  python setup.py build
}

package() {
  cd "${pkgname%-*}"
  python setup.py install --optimize=1 --root "${pkgdir}"
}