pkgname=systemd-units pkgver=0.20111101 pkgrel=1 pkgdesc="Chakra GNU/Linux specific Systemd unit files" arch=('any') url="https://gitorious.org/chakra/chakra-systemd-units" license=('MIT') depends=('systemd>=37') groups=('systemd') install=systemd-units.install source=("http://chakra.sourceforge.net/sources/${pkgname}/${pkgname}-${pkgver}-${pkgrel}.tar.xz") sha256sums=('f76cb7c742b3cd0da4860d688ff3902478a8400eb4d61a055aff02b25f8360dd') # create tarball: source PKGBUILD && mksource mksource() { rm -vRf chakra-${pkgname} git clone git://gitorious.org/chakra/chakra-${pkgname}.git rm -vRf chakra-${pkgname}/.git pushd chakra-${pkgname} popd tar -cvJf ${pkgname}-${pkgver}-${pkgrel}.tar.xz chakra-${pkgname}/* sha256sum ${pkgname}-${pkgver}-${pkgrel}.tar.xz } package() { cd "$srcdir/chakra-${pkgname}" make DESTDIR="$pkgdir" install }