diff options
author | gustawho | 2021-04-24 19:07:16 -0600 |
---|---|---|
committer | gustawho | 2021-04-24 19:07:16 -0600 |
commit | 3b5bb139d19a6af519a9043bd6a477326772a20f (patch) | |
tree | 22642c5fcdb3e92d5f6d82bf26ee357cb46c334d | |
download | aur-3b5bb139d19a6af519a9043bd6a477326772a20f.tar.gz |
Package added
-rw-r--r-- | .SRCINFO | 27 | ||||
-rw-r--r-- | PKGBUILD | 32 |
2 files changed, 59 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..c9e59355174d --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,27 @@ +pkgbase = mauikit-imagetools-git + pkgdesc = MauiKit Image Tools Components + pkgver = r6.6073ba0 + pkgrel = 1 + url = https://invent.kde.org/maui/mauikit-imagetools + arch = x86_64 + arch = i686 + arch = arm + arch = armv6h + arch = armv7h + arch = aarch64 + license = GPL3 + makedepends = git + makedepends = extra-cmake-modules + depends = mauikit-git + depends = ki18n + depends = kconfig + depends = kcoreaddons + depends = exiv2 + depends = kquickimageeditor-git + provides = mauikit-imagetools + conflicts = mauikit-imagetools + source = git+https://invent.kde.org/maui/mauikit-imagetools.git + sha256sums = SKIP + +pkgname = mauikit-imagetools-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..a118dcfd70d9 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,32 @@ +# Maintainer: Gustavo Castro < gustawho [ at ] gmail [ dot ] com > + +pkgname=mauikit-imagetools-git +pkgver=r6.6073ba0 +pkgrel=1 +pkgdesc="MauiKit Image Tools Components" +arch=(x86_64 i686 arm armv6h armv7h aarch64) +url="https://invent.kde.org/maui/mauikit-imagetools" +license=('GPL3') +depends=('mauikit-git' 'ki18n' 'kconfig' 'kcoreaddons' 'exiv2' 'kquickimageeditor-git') +makedepends=('git' 'extra-cmake-modules') +provides=('mauikit-imagetools') +conflicts=('mauikit-imagetools') +source=("git+${url}.git") +sha256sums=('SKIP') + +pkgver() { + cd "${pkgname%-git}" + ( set -o pipefail + git describe --long 2>/dev/null | sed 's/\([^-]*-g\)/r\1/;s/-/./g' || + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" + ) +} + +build() { + cmake -DCMAKE_INSTALL_PREFIX=/usr -B build -S "${pkgname%-git}" + make -C build +} + +package() { + make -C build DESTDIR="${pkgdir}" PREFIX=/usr install +} |