mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-06 05:47:41 +08:00
31 lines
922 B
Bash
31 lines
922 B
Bash
pkgname=initscripts-systemd
|
|
pkgver=0.20110627
|
|
pkgrel=1
|
|
pkgdesc="Chakra GNU/Linux specific systemd initialization/bootup scripts for systemd"
|
|
arch=('any')
|
|
url="https://gitorious.org/chakra/chakra-initscripts-systemd"
|
|
license=('GPL')
|
|
groups=('systemd')
|
|
depends=('systemd' 'initscripts')
|
|
install=initscripts-systemd.install
|
|
source=("http://chakra-project.org/sources/${pkgname}/${pkgname}-${pkgver}-${pkgrel}.tar.xz")
|
|
sha256sums=('0c25e4512e8bcdfad7471d4dd43b462fc1a2eb6df801a05c8b20c7e6cc942f18')
|
|
|
|
# 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
|
|
}
|