diff options
author | lepz0r | 2024-03-19 04:48:24 +0700 |
---|---|---|
committer | lepz0r | 2024-03-19 04:48:24 +0700 |
commit | e3545da0e1aaca4e35d2a94f59e838c1fd3b46ec (patch) | |
tree | ced5b4bd12679136e2ae17ab4a489cca3128848c | |
download | aur-samin-pacman-hook-git.tar.gz |
Initial commit
-rw-r--r-- | .SRCINFO | 12 | ||||
-rw-r--r-- | PKGBUILD | 18 |
2 files changed, 30 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..92bc2303bf27 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,12 @@ +pkgbase = samin-pacman-hook-git + pkgdesc = pacman hook for samin + pkgver = r0.3572d4d + pkgrel = 1 + url = https://gitlab.com/lepz0r/samin-pacman-hook + arch = any + license = GPL2 + depends = samin + source = git+https://gitlab.com/lepz0r/samin-pacman-hook.git + sha256sums = SKIP + +pkgname = samin-pacman-hook-git diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..a6af5d781400 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,18 @@ +pkgname=samin-pacman-hook-git +_pkgname='samin-pacman-hook' +pkgver=r0.3572d4d +pkgrel=1 +pkgdesc='pacman hook for samin' +arch=('any') +url='https://gitlab.com/lepz0r/samin-pacman-hook' +license=('GPL2') +depends=('samin') +source=('git+https://gitlab.com/lepz0r/samin-pacman-hook.git') +sha256sums=('SKIP') + +package() { + cd "${srcdir}/${_pkgname}" + mkdir -p ${pkgdir}/usr/share/libalpm/{hooks,scripts} + install -m 644 ./hooks/* ${pkgdir}/usr/share/libalpm/hooks/ + install -m 755 ./scripts/samin-pacman-hook ${pkgdir}/usr/share/libalpm/scripts/ + } |