diff options
author | Peter Jung | 2022-10-09 22:28:09 +0200 |
---|---|---|
committer | Peter Jung | 2022-10-09 22:28:09 +0200 |
commit | 5ff6a43952671dfeb39fdc5d52a313049b8e6b2d (patch) | |
tree | b2d7312aebdeb8a050717cce20ada9506b5094ea | |
download | aur-5ff6a43952671dfeb39fdc5d52a313049b8e6b2d.tar.gz |
inital commit
Signed-off-by: Peter Jung <admin@ptr1337.dev>
-rw-r--r-- | .SRCINFO | 15 | ||||
-rw-r--r-- | PKGBUILD | 28 |
2 files changed, 43 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..ec10f2d06dc1 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,15 @@ +pkgbase = ananicy-rules + pkgdesc = CachyOS - ananicy-rules + pkgver = 1.r55.478717a + pkgrel = 1 + url = https://github.com/CachyOS/ananicy-rules + arch = any + groups = cachyos + license = GPL + provides = ananicy-rules-git + conflicts = ananicy-rules-git + replaces = ananicy-rules-git + source = ananicy-rules::git+https://github.com/CachyOS/ananicy-rules.git + sha256sums = SKIP + +pkgname = ananicy-rules diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..066ddb4f0d20 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,28 @@ +# Maintainer: Peter Jung ptr1337 <admin@ptr1337.dev> +# Maintainer: Piotr Gorski <piotrgorski@cachyos.org> + +pkgname=ananicy-rules +pkgver=1.r55.478717a +pkgrel=1 +groups=(cachyos) +arch=('any') +license=('GPL') +pkgdesc='CachyOS - ananicy-rules' +url='https://github.com/CachyOS/ananicy-rules' +source=("${pkgname}::git+https://github.com/CachyOS/${pkgname}.git") +sha256sums=('SKIP') +replaces=(ananicy-rules-git) +provides=(ananicy-rules-git) +conflicts=(ananicy-rules-git) + +pkgver() { + cd "${srcdir}/${pkgname}" + _gittag="1" + printf "${_gittag}.r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +} + +package() { + cd "${pkgname}" + install -d $pkgdir/etc/ananicy.d + cp -rf $srcdir/$pkgname/* $pkgdir/etc/ananicy.d +} |