aboutsummaryrefslogtreecommitdiffstats
path: root/git-protection
diff options
context:
space:
mode:
authorMattias Andrée <m@maandree.se>2026-03-04 19:07:10 +0100
committerMattias Andrée <m@maandree.se>2026-03-04 19:07:10 +0100
commitcd50fc5e5d35fe3e365333b383cf054bb499f7b2 (patch)
tree79f43e5b1bbdd3eb2683e7666fd8a9233471fa3c /git-protection
parentAdd liblss16 1.0 (diff)
downloadaur-packages-cd50fc5e5d35fe3e365333b383cf054bb499f7b2.tar.gz
aur-packages-cd50fc5e5d35fe3e365333b383cf054bb499f7b2.tar.bz2
aur-packages-cd50fc5e5d35fe3e365333b383cf054bb499f7b2.tar.xz
Add git-protection 1.0HEADmaster
Signed-off-by: Mattias Andrée <m@maandree.se>
Diffstat (limited to '')
-rw-r--r--git-protection/PKGBUILD24
l---------git-protection/upload1
2 files changed, 25 insertions, 0 deletions
diff --git a/git-protection/PKGBUILD b/git-protection/PKGBUILD
new file mode 100644
index 0000000..c6e608a
--- /dev/null
+++ b/git-protection/PKGBUILD
@@ -0,0 +1,24 @@
+# Maintainer: Mattias Andrée <m@`base64 -d`(bWFhbmRyZWU).se>
+
+pkgname=git-protection
+pkgver=1.0
+pkgrel=1
+pkgdesc='Spawn a new program with .git mounted as read-only'
+url='https://codeberg.org/maandree/git-protection'
+arch=(any)
+license=('custom:ISC')
+depends=(git libsimple)
+makedepends=(libsimple)
+source=($pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz)
+sha256sums=(852a3fced9517f6509e973b14a0e06ba465f73259bdd81fb86ddf957cb5583b5)
+
+build () {
+ cd "$srcdir/git-protection"
+ make PREFIX=/usr
+}
+
+package () {
+ cd "$srcdir/git-protection"
+ make PREFIX=/usr DESTDIR="$pkgdir" install
+ make PREFIX=/usr DESTDIR="$pkgdir" post-install
+}
diff --git a/git-protection/upload b/git-protection/upload
new file mode 120000
index 0000000..1e7a8be
--- /dev/null
+++ b/git-protection/upload
@@ -0,0 +1 @@
+../upload \ No newline at end of file