# Maintainer: Luis Henrique # Former Maintainer(s): Former Maintainer # Mandatory pkgname=package pkgver=1.0.0 pkgrel=1lm source=("http://project-xy.net/dl/$pkgname/$pkgname-$pkgver.tar.gz" "other.stuff") sourcetemplate=http://my-server.net/packages/$pkgname/ # Optional docs=("documentation" "files") url="http://project-xy.net/" dotnew=("etc/foo" "etc/bar") options=("options") slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "pkgname (short description)" "pkgname long description" ) build() { cd $startdir/src/$pkgname-$pkgver ./configure \ --prefix=/usr \ --libdir=/usr/lib${LIBDIRSUFFIX} \ --sysconfdir=/etc \ --localstatedir=/var \ --mandir=/usr/man \ --docdir=/usr/doc/$pkgname-$pkgver \ --enable-static=no \ --enable-shared=yes \ --build=$arch-slackware-linux make || return 1 make DESTDIR=$startdir/pkg install } doinst() { commands run after installation }