blob: bd9254f675933641e4bc6f27e4014c130cd28250 (
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
42
|
# Maintainer: Drew Reed <reed.995@osu.edu>
pkgname=openuru-moss
pkgver=r41+.3e78d60a5282+
pkgrel=1
pkgdesc="MOSS is a UNIX-based server for the Myst Online: Uru Live client"
arch=('i686' 'x86_64')
url="openuru.org"
license=('GPL')
depends=('libpqxx'
'postgresql')
makedepends=('mercurial')
backup=()
source=("$pkgname::hg+http://foundry.openuru.org/hg/MOSS"
"include_unistd.patch")
md5sums=('SKIP'
'923b06d8c25265679bd35e532118f2ff')
prepare() {
cd "$srcdir"
patch -p0 -i "include_unistd.patch"
}
build() {
cd "$srcdir/$pkgname"
./bootstrap.sh
./configure --prefix=/usr --enable-fast-download
make
cd "postgresql"
make
}
package() {
cd "$srcdir/$pkgname"
make DESTDIR="$pkgdir/" install
cd "postgresql"
make DESTDIR="$pkgdir/" install
}
pkgver() {
cd "$pkgname"
printf "r%s.%s" "$(hg identify -n)" "$(hg identify -i)"
}
|