# Contributor: Ansgar Taflinski # Maintainer: Stefan Husmann pkgname=dktools pkgver=4.23.0 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=('dktools-license') groups=() depends=('wxgtk3' 'netpbm' 'net-snmp') makedepends=('wxgtk3') # also optional runtime dependency for wxbmpp, wxdkct and wximgsz optdepends=('wxgtk3: for wxbmpp, wxdkct and wximgsz' 'libmariadbclient: for itadmin') source=(http://sourceforge.net/projects/dktools/files/$pkgname/$pkgname-$pkgver/$pkgname-$pkgver.tar.gz) sha256sums=('0839dceb702e9e82729da3d2af854abb57806442e8c59226ee7af0c64e08721c') 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 -rf "$pkgdir"/var/run install -Dm755 -t "$pkgdir"/usr/bin/ "$pkgdir"/usr/sbin/* rm -r "$pkgdir"/usr/sbin/ }