diff options
author | TBK | 2020-04-18 19:30:23 +0200 |
---|---|---|
committer | TBK | 2020-04-18 19:30:30 +0200 |
commit | f85013fc76afb89c6b49f3f5e627cab8cc0b22f0 (patch) | |
tree | c3a668e963ca0616da001a3e75229d93ddf42085 /PKGBUILD | |
download | aur-initify.tar.gz |
Initial commit
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..ad3c920c4ed8 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,24 @@ +# Maintainer: TBK <aur at jjtc dot eu> +# Contributor: TBK <aur at jjtc dot eu> + +pkgname=initify +pkgver=r12.f9ccbb1 +pkgrel=1 +pkgdesc='Convert systemd services to OpenRC init-scripts.' +url='https://github.com/goose121/initify' +arch=('any') +license=('MIT') +depends=('perl') +source=("$pkgname::git+https://github.com/goose121/initify.git") +sha512sums=('SKIP') + +pkgver() { + cd "$pkgname" + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +} + +package() { + cd "$srcdir/$pkgname" + install -Dm755 initify.pl "$pkgdir"/usr/bin/initify + install -Dm755 cronify.pl "$pkgdir"/usr/bin/cronify +} |