summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 95df9511d5510b7688f50922cd9d64fe801dc622 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
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
}