summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD24
1 files changed, 24 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..ad3c920c4ed
--- /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
+}