Initial commit

This commit is contained in:
TBK 2020-04-18 19:30:23 +02:00
commit f85013fc76
No known key found for this signature in database
GPG Key ID: 6D4FD19CB66C95EA
4 changed files with 59 additions and 0 deletions

13
.SRCINFO Normal file
View File

@ -0,0 +1,13 @@
pkgbase = initify
pkgdesc = Convert systemd services to OpenRC init-scripts.
pkgver = r12.f9ccbb1
pkgrel = 1
url = https://github.com/goose121/initify
arch = any
license = MIT
depends = perl
source = initify::git+https://github.com/goose121/initify.git
sha512sums = SKIP
pkgname = initify

5
.gitignore vendored Normal file
View File

@ -0,0 +1,5 @@
pkg/*
src/*
*.pkg.tar.xz
*.tar.gz
initify/*

24
PKGBUILD Normal file
View File

@ -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
}

17
README.md Normal file
View File

@ -0,0 +1,17 @@
# initify
Arch User Repository initify
## Update package
* Update package version in PKGBUILD
* Generate new checksums with
```$ updpkgsums```
* Test install
```$ makepkg -si```
* Update .SRCINFO
```$ makepkg --printsrcinfo > .SRCINFO```