aboutsummaryrefslogtreecommitdiff
path: root/src/alpine/git-permalink-0-2-0
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2023-03-29 07:43:28 -0300
committerEuAndreh <eu@euandre.org>2023-03-29 09:03:33 -0300
commit08a26600584190fd3e740f51ccfcbb2263a48780 (patch)
tree15d4afa254764f0b20aa155f947b2a29bc5373ce /src/alpine/git-permalink-0-2-0
parent.envrc: Do not "set -eu" so one can manually source it (diff)
downloadpackage-repository-08a26600584190fd3e740f51ccfcbb2263a48780.tar.gz
package-repository-08a26600584190fd3e740f51ccfcbb2263a48780.tar.xz
Use abuild(1) to build ".apk" packages
Diffstat (limited to 'src/alpine/git-permalink-0-2-0')
-rw-r--r--src/alpine/git-permalink-0-2-0/APKBUILD31
1 files changed, 31 insertions, 0 deletions
diff --git a/src/alpine/git-permalink-0-2-0/APKBUILD b/src/alpine/git-permalink-0-2-0/APKBUILD
new file mode 100644
index 0000000..7779a1d
--- /dev/null
+++ b/src/alpine/git-permalink-0-2-0/APKBUILD
@@ -0,0 +1,31 @@
+# Maintainer: EuAndreh <eu@euandre.org>
+pkgname='git-permalink'
+pkgver='v0.2.0'
+pkgrel='0'
+pkgdesc='Git extension to generate web permalinks of files in a repository'
+url='https://euandre.org/s/git-permalink/'
+arch='noarch'
+license='AGPL-3.0-or-later'
+depends=''
+makedepends=''
+checkdepends=''
+install=''
+subpackages='git-permalink-doc'
+source='https://euandre.org/git/git-permalink/snapshot/git-permalink-v0.2.0.tar.xz'
+builddir="$srcdir/git-permalink-v0.2.0"
+
+build() {
+ make PREFIX=/usr
+}
+
+check() {
+ make check
+}
+
+package() {
+ make install DESTDIR="$pkgdir" PREFIX=/usr
+}
+
+sha512sums='
+c75da25709b6b074812d34dfa5371a6dd53d31f1ce2828c594cf3c62bdd90b421d14f5733782fcaed178db830236eeb87a8ae2fb90e773270222ae64750625d0 git-permalink-v0.2.0.tar.xz
+'