blob: 32c9e1dccbfb2527e6e1be53d2d280bc7f015135 (
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
43
44
45
46
47
|
# Maintainer: Antonio Cardace <anto.cardace@gmail.com>
pkgname=libumlib0-svn
pkgver=r1129
pkgrel=1
pkgdesc="Library with common functions used by every UMView module."
arch=('i686' 'x86_64')
url="https://sourceforge.net/projects/view-os"
license=('GPL2')
depends=('glibc>=2.4')
makedepends=('autoconf' 'automake' 'make' 'libtool')
provides=("$pkgname=$pkgver")
conflicts=("$pkgname")
replaces=("$pkgname")
install="${pkgname}.install"
source=("svn+http://svn.code.sf.net/p/view-os/code/trunk/xmview-os"
"${pkgname}.install"
"${pkgname}.diff")
md5sums=("SKIP"
"b6652a20b64c473886c3372d620ca788"
"c3c17eafbb532433d49e37f9cfabbed7")
pkgver() {
cd "$srcdir/xmview-os"
local ver="$(svnversion)"
printf "r%s" "${ver//[[:alpha:]]}"
}
prepare() {
cd $srcdir/xmview-os
patch -i ../../${pkgname}.diff Makefile.am
}
build(){
cd "$srcdir/xmview-os"
autoreconf -i
if [ "$CARCH" == "x86_64" ]; then
./configure --prefix="/usr" --disable-static
else
./configure --prefix="/usr" --libdir="/usr/lib32" --disable-static
fi
make
}
package() {
cd "$srcdir/xmview-os"
make DESTDIR="$pkgdir" install
}
|