summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorfzerorubigd2015-06-09 10:00:52 +0430
committerfzerorubigd2015-06-09 10:00:52 +0430
commit3702364c29cb7da6967d3f2edfa9f3a3180b6ce4 (patch)
tree5cf7d511d63a4ac27c02513b9f90eb84adbe0389 /PKGBUILD
downloadaur-3702364c29cb7da6967d3f2edfa9f3a3180b6ce4.tar.gz
migrate from aur3
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD37
1 files changed, 37 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..95df9511d55
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,37 @@
+# Maintainer: FzerorubigD <Fzerorubigd {AT} GMail {DOT} com>
+
+pkgname='saaghar-git'
+
+_gitname=Saaghar
+#The real value will be calculated by pkgver() function
+pkgver=380.3dbbb51
+pkgrel=1
+
+pkgdesc="“Saaghar” (ساغر) is a Persian poetry software written by C++ under Qt framework, it uses "ganjoor" database as its database. It has tab feature in both its “Viewer” and its “Search” page that cause it be suitable for research goals."
+
+url="http://saaghar.pozh.org"
+
+arch=('any')
+license=('GPL3')
+
+depends=('qt5-base>=5.3.1')
+makedepends=('git')
+source=('git://github.com/srazi/Saaghar.git')
+md5sums=('SKIP')
+
+
+pkgver() {
+ cd "${srcdir}/${_gitname}"
+ echo "$(git rev-list --count HEAD).$(git rev-parse --short HEAD)"
+}
+
+build() {
+ cd "${srcdir}/${_gitname}"
+ qmake
+ make
+}
+
+package() {
+ cd "${srcdir}/${_gitname}"
+ INSTALL_ROOT=${pkgdir} make install
+}