diff options
author | Kr1ss | 2019-09-01 16:48:17 +0200 |
---|---|---|
committer | Kr1ss | 2019-09-01 16:48:17 +0200 |
commit | 5ac36c8b084dd9c8e0e6115615bfd8b32b26471a (patch) | |
tree | 9384986dfd9c1eb35cccdcd5fa05e9bd0adfafd1 | |
parent | 0ac8a387236951ab8681c6cfdb1cec2360d5e6f7 (diff) | |
download | aur-5ac36c8b084dd9c8e0e6115615bfd8b32b26471a.tar.gz |
skip repeating the build steps in package()
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 4 |
2 files changed, 3 insertions, 3 deletions
@@ -1,7 +1,7 @@ pkgbase = dupliseek-git pkgdesc = Duplicate image finder written in Python/Qt5 pkgver = 0.0.2alpha.r55.3ce09f8 - pkgrel = 2 + pkgrel = 3 url = https://gitlab.com/magnusmj/dupliseek arch = x86_64 license = MIT @@ -3,7 +3,7 @@ pkgname=dupliseek-git pkgver() { git -C "${pkgname%-git}" describe | sed 's/^v//;s/\([^-]*-\)g/r\1/;s/-/./g'; } pkgver=0.0.2alpha.r55.3ce09f8 -pkgrel=2 +pkgrel=3 pkgdesc='Duplicate image finder written in Python/Qt5' arch=('x86_64') @@ -38,7 +38,7 @@ build() { package() { cd "${pkgname%-git}" - python setup.py install --optimize=1 --root="$pkgdir" + python setup.py install --optimize=1 --skip-build --root="$pkgdir" install -Dm644 icons/compare.png "$pkgdir/usr/share/pixmaps/${pkgname%-git}.png" install -Dm644 "${pkgname%-git}.desktop" -t"$pkgdir/usr/share/applications/" install -Dm644 README.md -t"$pkgdir/usr/share/doc/${pkgname%-git}/" |