blob: dd5aa318ff52bbd32f35e6ba1b798f2446f24459 (
plain)
1 # Description: A command line address book
2 # URL: http://abook.sourceforge.net/
3 # Packager: Aaron Ball <nullspoon at oper dot io>
4
5 name=abook
6 version=0_6_1
7 release=1
8 source=()
9 gitsource=http://git.code.sf.net/p/abook/git
10
11 gitsetup() {
12 if [[ -d ${name} ]]; then
13 cd ${name}
14 git reset --hard
15 git pull ${gitsource}
16 else
17 git clone ${gitsource} ${name}
18 cd ${name}
19 fi
20
21 # Used to check out a tag
22 git checkout ver_${version}
23 }
24
25
26 build () {
27 gitsetup
28
29 ./configure --prefix=/usr --disable-nls
30 make
31 make DESTDIR=$PKG install
32 }
33
34 # vim: set ft=sh ts=2 et:
|