summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin T. H. Sandsmark2020-10-17 01:20:09 +0200
committerMartin T. H. Sandsmark2020-10-17 01:20:09 +0200
commit830ebdf650e753e1a2972d365711deab637fcebf (patch)
tree96db944e59ca707a787b083295716cc66450df2c
downloadaur-extra-imageformats-qt-git.tar.gz
init
-rw-r--r--.SRCINFO20
-rw-r--r--PKGBUILD35
2 files changed, 55 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..8df624b6c22
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,20 @@
+pkgbase = extra-imageformats-qt-git
+ pkgdesc = bpg, pgf and fuif support for Qt
+ pkgver = r11.fe4356c
+ pkgrel = 1
+ url = https://github.com/sandsmark/extra-imageformats-qt
+ arch = i686
+ arch = x86_64
+ license = LGPL
+ makedepends = git
+ makedepends = cmake
+ depends = qt5-base
+ optdepends = libbpg: BPG supprt
+ optdepends = libpgf: PGF support
+ provides = extra-imageformats-qt
+ conflicts = extra-imageformats-qt
+ source = git://github.com/sandsmark/extra-imageformats-qt.git
+ md5sums = SKIP
+
+pkgname = extra-imageformats-qt-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..72a9b24370c
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,35 @@
+# Maintainer: Martin Sandsmark <martin.sandsmark@kde.org>
+
+pkgname=extra-imageformats-qt-git
+pkgver=r11.fe4356c
+pkgrel=1
+pkgdesc='bpg, pgf and fuif support for Qt'
+arch=('i686' 'x86_64')
+url='https://github.com/sandsmark/extra-imageformats-qt'
+license=('LGPL')
+depends=('qt5-base')
+optdepends=(
+ 'libbpg: BPG supprt'
+ 'libpgf: PGF support'
+)
+makedepends=('git' 'cmake')
+conflicts=(extra-imageformats-qt)
+provides=(extra-imageformats-qt)
+source=('git://github.com/sandsmark/extra-imageformats-qt.git')
+md5sums=('SKIP')
+
+pkgver() {
+ cd extra-imageformats-qt
+ printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+}
+
+build() {
+ cd extra-imageformats-qt
+ cmake -DCMAKE_INSTALL_PREFIX=/usr .
+ make
+}
+
+package() {
+ cd extra-imageformats-qt
+ make DESTDIR="$pkgdir" install
+}