blob: 45aeb53d8002b55ca9df0cd6d6c2b40d011ecfa3 (
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
|
# Package build script for Arch Linux.
# Maintainer: Dirk Krause <mail-not-published>
pkgname=dktools
pkgver=VERSNO
pkgrel=1
epoch=
pkgdesc="Tools and libraries by Dirk Krause"
arch=("x86_64")
url="http://sourceforge.net/p/dktools/wiki/Home/"
license=('custom:BSD')
groups=()
depends=('zlib' 'bzip2' 'libpng' 'openssl' 'libjpeg-turbo' 'libtiff' 'net-snmp' 'db' 'wxgtk3' 'mariadb-clients')
makedepends=()
checkdepends=()
optdepends=()
provides=()
conflicts=()
replaces=()
backup=()
options=('strip')
install=
changelog=
source=("http://downloads.sourceforge.net/project/dktools/dktools/dktools-$pkgver/src/$pkgname-$pkgver.tar.gz")
noextract=()
md5sums=("db954fcbf3f4972a1a21972e51548eb0")
validpgpkeys=()
prepare() {
cd "$pkgname-$pkgver"
}
build() {
cd "$pkgname-$pkgver"
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --enable-packaging
make
}
check() {
cd "$pkgname-$pkgver"
/bin/true
}
package() {
cd "$pkgname-$pkgver"
make DESTDIR="$pkgdir" install
mkdir -p "$pkgdir/usr/share/licenses/dktools"
chmod 755 "$pkgdir/usr/share/licenses/dktools"
cp bsdlic.txt "$pkgdir/usr/share/licenses/dktools/LICENSE"
chmod 644 "$pkgdir/usr/share/licenses/dktools/LICENSE"
mkdir -p "$pkgdir/usr/share/doc/dktools"
chmod 755 "$pkgdir/usr/share/doc/dktools"
cp bsdlic.txt "$pkgdir/usr/share/doc/dktools/LICENSE"
cp README "$pkgdir/usr/share/doc/dktools/README"
cp INSTALL "$pkgdir/usr/share/doc/dktools/INSTALL"
chmod 644 "$pkgdir/usr/share/doc/dktools/LICENSE"
chmod 644 "$pkgdir/usr/share/doc/dktools/README"
chmod 644 "$pkgdir/usr/share/doc/dktools/INSTALL"
rm -fr "$pkgdir/var/run"
}
|