summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorGiorgio Wicklein2017-11-02 20:38:14 +0100
committerGiorgio Wicklein2017-11-02 20:38:14 +0100
commit94777e9d6c744b8dd1bbe003dd8fbec6b2605a87 (patch)
tree4b252659160e9fbbdaaffbd4e211f84c7344ad92
downloadaur-94777e9d6c744b8dd1bbe003dd8fbec6b2605a87.tar.gz
Initial import
-rw-r--r--.SRCINFO17
-rwxr-xr-xPKGBUILD32
2 files changed, 49 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..eeb52cc3a60
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,17 @@
+pkgbase = passiflora
+ pkgdesc = Spagyrik Datenbank Passiflora
+ pkgver = 2.2
+ pkgrel = 1
+ url = https://github.com/joshirio/passiflora
+ arch = i686
+ arch = x86_64
+ license = BSD
+ depends = qt5-base
+ depends = qt5-svg
+ depends = qt5-imageformats
+ depends = sqlite
+ source = http://passiflora.enmed.de/files/passiflora-2.2-src.tar.gz
+ md5sums = 23581947b47ad6f64e713439d577ccf7
+
+pkgname = passiflora
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100755
index 00000000000..ae97df9f06a
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,32 @@
+# Maintainer: Giorgio Wicklein <giowckln@gmail.com>
+pkgname=passiflora
+pkgver=2.2
+pkgrel=1
+pkgdesc="Spagyrik Datenbank Passiflora"
+arch=('i686' 'x86_64')
+url="https://github.com/joshirio/passiflora"
+license=('BSD')
+depends=('qt5-base' 'qt5-svg' 'qt5-imageformats' 'sqlite')
+source=("http://passiflora.enmed.de/files/$pkgname-$pkgver-src.tar.gz")
+md5sums=('23581947b47ad6f64e713439d577ccf7')
+
+build() {
+ qmake-qt5 -config release
+ make
+}
+
+package() {
+ cd "$srcdir"
+
+ # Binary
+ install -Dm755 "$srcdir/passiflora" "${pkgdir}/usr/bin/passiflora"
+
+ # Icons and desktop files
+ install -d "${pkgdir}/usr/share/"
+ cp -R "$srcdir/stuff/installers/deb/usr/share/applications/" "${pkgdir}/usr/share/"
+ cp -R "$srcdir/stuff/installers/deb/usr/share/pixmaps/" "${pkgdir}/usr/share/"
+
+ # Copy license
+ install -Dm644 "$srcdir/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
+