blob: 5280b54aab3fe51a866e40191dcc9c2f37616d11 (
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
|
# Maintainer: taotieren <admin@taotieren.com>
pkgname=librnd4-svn
pkgver=r37782
pkgrel=6
pkgdesc="free/open source, flexible, modular two-dimensional CAD engine"
arch=($CARCH)
url="http://www.repo.hu/projects/librnd"
license=('LGPL-2.0-or-later')
provides=('librnd4=4.1.1' 'librnd3' 'librnd')
conflicts=('librnd4=4.1.1' 'librnd3' 'librnd')
depends=(
glibc
sh
# fungw
)
makedepends=(
subversion
)
optdepends=(
)
source=("svn://svn.repo.hu/librnd/trunk")
sha256sums=('SKIP')
pkgver() {
cd "$srcdir/trunk/"
local ver="$(svnversion)"
printf "r%s" "${ver//[[:alpha:]]/}"
}
build() {
cd "$srcdir/trunk/"
./configure --prefix=/usr
make LDFLAGS="-Wl,-z,now -Wl,-z,relro"
}
package() {
cd "$srcdir/trunk/"
make DESTDIR="$pkgdir/" install
}
|