core/systemd-units/PKGBUILD
2011-11-01 11:25:29 +00:00

30 lines
866 B
Bash

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
}