aboutsummaryrefslogtreecommitdiff
path: root/src/alpine/git-permalink-0-1-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-1-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-1-0')
-rw-r--r--src/alpine/git-permalink-0-1-0/APKBUILD31
1 files changed, 31 insertions, 0 deletions
diff --git a/src/alpine/git-permalink-0-1-0/APKBUILD b/src/alpine/git-permalink-0-1-0/APKBUILD
new file mode 100644
index 0000000..a6a2191
--- /dev/null
+++ b/src/alpine/git-permalink-0-1-0/APKBUILD
@@ -0,0 +1,31 @@
+# Maintainer: EuAndreh <eu@euandre.org>
+pkgname='git-permalink'
+pkgver='v0.1.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.1.0.tar.xz'
+builddir="$srcdir/git-permalink-v0.1.0"
+
+build() {
+ make PREFIX=/usr
+}
+
+check() {
+ make check
+}
+
+package() {
+ make install DESTDIR="$pkgdir" PREFIX=/usr
+}
+
+sha512sums='
+4d508704333c7c19432a5e021e561e5fe96175631230b09a672cfca984c55ee83dc55e82f4c29e7666db55997ddff59e54fc1d3c4cd72f78dc688fd1dd68a091 git-permalink-v0.1.0.tar.xz
+'