diff options
author | Alexandre Courbot | 2015-06-21 15:26:41 +0900 |
---|---|---|
committer | Alexandre Courbot | 2015-06-21 15:26:41 +0900 |
commit | b526af5858317ae7150b76d19ab8da1e2cf00a2d (patch) | |
tree | 89c298fc3b992a4faf5fb7c8702b66bfffef9305 | |
download | aur-b526af5858317ae7150b76d19ab8da1e2cf00a2d.tar.gz |
Initial import
-rw-r--r-- | .SRCINFO | 19 | ||||
-rw-r--r-- | PKGBUILD | 25 |
2 files changed, 44 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..253fcc3c741b --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,19 @@ +pkgbase = tagainijisho + pkgdesc = A Free Japanese dictionary and study assistant + pkgver = 1.0.3 + pkgrel = 1 + url = http://www.tagaini.net/ + arch = i686 + arch = x86_64 + arch = armv7h + arch = armv6h + license = GPL3 + makedepends = cmake>=2.8.1 + makedepends = desktop-file-utils + depends = qt4>=4.7 + depends = sqlite3>=3.7.9 + source = https://github.com/Gnurou/tagainijisho/releases/download/1.0.3/tagainijisho-1.0.3.tar.gz + md5sums = e3aef7b1a3e4a38e0f144dd98fdcb680 + +pkgname = tagainijisho + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..b0b4f7bba91f --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,25 @@ +# Contributor: Kristian Setälä <kristian.setala@gmail.com> + +pkgname=tagainijisho +pkgver=1.0.3 +pkgrel=1 +pkgdesc="A Free Japanese dictionary and study assistant" +arch=('i686' 'x86_64' 'armv7h' 'armv6h') +url="http://www.tagaini.net/" +license=('GPL3') +depends=('qt4>=4.7' 'sqlite3>=3.7.9') +makedepends=('cmake>=2.8.1' 'desktop-file-utils') +source=(https://github.com/Gnurou/tagainijisho/releases/download/$pkgver/$pkgname-$pkgver.tar.gz) +md5sums=('e3aef7b1a3e4a38e0f144dd98fdcb680') + +build() { + cd "$srcdir/$pkgname-$pkgver" + CFLAGS=`echo $CFLAGS | sed 's/-ffast-math//'` cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr -DQT_QMAKE_EXECUTABLE=qmake-qt4 . || return 1 + make $MAKEFLAGS || return 1 +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + make DESTDIR=$pkgdir install || return 1 +} +# vim:set ts=2 sw=2 et: |