# Contributor: Ansgar Taflinski # Maintainer: Stefan Husmann pkgname=dktools pkgver=4.31.2 pkgrel=1 pkgdesc="Collection of tools by Dirk Krause, including converters, daemons, Perl modules, development tools, administration tools and printing tools." arch=('i686' 'x86_64') url="http://dktools.sourceforge.net" license=('custom') depends=('wxgtk3' 'netpbm' 'net-snmp') makedepends=('wxgtk3') # also optional runtime dependency for wxbmpp, wxdkct and wximgsz optdepends=('wxgtk3: for wxbmpp, wxdkct and wximgsz' 'mariadb-libs: for itadmin') source=(http://sourceforge.net/projects/dktools/files/$pkgname/$pkgname-$pkgver/$pkgname-$pkgver.tar.gz) sha256sums=('a9bd139126b804325408c555b740ae6b70fa8d8b3665dc3eb4db2a20a9396497') build() { cd $pkgname-$pkgver ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --libexecdir=/usr/lib make } package() { cd $pkgname-$pkgver make -i DESTDIR="$pkgdir" install rm -r "$pkgdir"/var install -Dm755 -t "$pkgdir"/usr/bin/ "$pkgdir"/usr/sbin/* rm -r "$pkgdir"{/lib,/usr/sbin/} install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE }