diff options
author | Zack Emmert | 2018-08-19 21:11:18 -0500 |
---|---|---|
committer | Zack Emmert | 2018-08-19 21:11:18 -0500 |
commit | 850f784676bf1f8f30085541c845a5f9f1a73903 (patch) | |
tree | 93c6ca18eda6ad349368df37182cff650a3a1952 | |
parent | b37f8cb747252a16b89068f0a0f1bfcee5b3dbb0 (diff) | |
download | aur-850f784676bf1f8f30085541c845a5f9f1a73903.tar.gz |
Made the PKGBUILD not an utter disgrace.
-rw-r--r-- | .SRCINFO | 9 | ||||
-rw-r--r-- | PKGBUILD | 22 |
2 files changed, 20 insertions, 11 deletions
@@ -1,12 +1,15 @@ pkgbase = krita-plugin-gmic-git pkgdesc = Krita plugin for the G'MIC image processing framework - pkgver = 2.0.3 - pkgrel = 3 + pkgver = 2.3.3.r16.ge1f2980 + pkgrel = 1 url = http://gmic.eu/ - install = krita-plugin-gmic-git.install arch = x86_64 license = GPL3 + makedepends = git depends = krita + depends = gmic + provides = krita-plugin-gmic + conflicts = krita-plugin-gmic source = git+https://github.com/c-koi/gmic-qt.git source = git+https://github.com/dtschump/gmic.git sha256sums = SKIP @@ -1,17 +1,23 @@ -# Maintainer: Zack Emmert <zack.emmert@gmail.com> +# Maintainer: Zack Emmert <zemmert@fastmail.com> pkgname=krita-plugin-gmic-git -pkgver=2.0.3 -pkgrel=3 -epoch= +pkgver=2.3.3.r16.ge1f2980 +pkgrel=1 pkgdesc="Krita plugin for the G'MIC image processing framework" arch=("x86_64") url="http://gmic.eu/" license=('GPL3') -depends=('krita') -install="$pkgname.install" +depends=('krita' 'gmic') +makedepends=('git') +conflicts=('krita-plugin-gmic') +provides=('krita-plugin-gmic') source=("git+https://github.com/c-koi/gmic-qt.git" "git+https://github.com/dtschump/gmic.git") sha256sums=('SKIP' 'SKIP') +pkgver() { + cd "gmic-qt" + git describe --long | sed 's/^v.//;s/\([^-]*-g\)/r\1/;s/-/./g' +} + build() { make -C gmic/src CImg.h gmic_stdlib.h cd "gmic-qt" @@ -20,6 +26,6 @@ build() { } package() { - mkdir -p "$pkgdir/usr/lib/kritaplugins" - mv "gmic-qt/gmic_krita_qt" "$pkgdir/usr/lib/kritaplugins/" + mkdir -p "$pkgdir/usr/bin" + install -Dm775 "gmic-qt/gmic_krita_qt" "$pkgdir/usr/bin/" } |