summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 692682ac6804010ba70f0e833726e2f1a8ee6e27 (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
# Maintainer: StoneCold <forumi0721[at]gmail[dot]com>

pkgname=("nabi-git")
_gitname="nabi"
pkgver=20140519.786.f3276ce
pkgrel=1
pkgdesc="Nabi - The Easy Hangul XIM"
arch=("x86_64" "i686" "arm" "armv6h" "armv7h" "aarch64")
url="http://code.google.com/p/nabi/"
license=("GNU GPL v2")
depends=("gtk2" "libhangul>=0.1.0")
provides=("nabi") 
conflicts=("nabi")
source=("${_gitname}::git+https://github.com/choehwanjin/nabi.git")
md5sums=("SKIP")

pkgver() {
	cd "${srcdir}/${_gitname}"
	echo "$(git log -1 --format="%cd" --date=short | sed "s/-//g").$(git rev-list --count HEAD).$(git rev-parse --short HEAD)"
}

prepare() {
	cd "${srcdir}/${_gitname}"
	./autogen.sh
}

build() {
	cd "${srcdir}/${_gitname}"
	./configure --prefix=/usr
	make
}

package() {
	cd "${srcdir}/${_gitname}"
	make DESTDIR="${pkgdir}/" install
}