blob: 415877235a0140bee1b801088f6e71f1aea276e6 (
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
38
39
40
41
|
# Contributor: Chia-Wei Li <dreamcwli@gmail.com>
# Contributor: Wei-Ning Huang <aitjcize@gmail.com>
# Contributor: Yu-Shin Huang <hyslion AT gmail.com>
pkgname=pcmanx-gtk2-git
pkgver=717.ad0af3a
pkgrel=1
pkgdesc="A gtk+ based free BBS client"
url="http://code.google.com/p/pcmanx-gtk2"
license=('GPL')
arch=('i686' 'x86_64')
depends=('gtk2' 'librsvg')
makedepends=('autoconf' 'automake' 'git' 'intltool')
options=('!libtool')
provides=('pcmanx-gtk2')
conflicts=('pcmanx-gtk2')
source=('git://github.com/pcman-bbs/pcmanx')
md5sums=('SKIP')
_gitname='pcmanx'
pkgver() {
cd ${srcdir}/${_gitname}
echo $(git rev-list --count HEAD).$(git rev-parse --short HEAD)
}
prepare() {
cd ${srcdir}/${_gitname}
./autogen.sh
./configure --prefix=/usr --enable-iplookup
}
build() {
cd ${srcdir}/${_gitname}
make
}
package() {
cd ${srcdir}/${_gitname}
make DESTDIR=${pkgdir} install
}
|