summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorEwout van Mansom2023-04-23 01:17:12 +0200
committerEwout van Mansom2023-04-23 01:17:12 +0200
commitb55e0ca875e3619bcd98c89eb723c330f50bb265 (patch)
treea7fa473e8b7c2ac39fad2512c0c321642ed12d16
downloadaur-b55e0ca875e3619bcd98c89eb723c330f50bb265.tar.gz
initial commit
-rw-r--r--.SRCINFO15
-rw-r--r--.gitignore4
-rw-r--r--PKGBUILD34
3 files changed, 53 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 000000000000..21474640032b
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,15 @@
+pkgbase = not-forking
+ pkgdesc = The Not-forking Software Reproducibility Tool
+ pkgver = 1.0
+ pkgrel = 1
+ url = https://lumosql.org/src/not-forking
+ arch = any
+ license = GPL
+ license = PerlArtistic
+ depends = perl
+ options = !emptydirs
+ options = purge
+ source = not-forking-1.0::fossil+https://lumosql.org/src/not-forking#branch=trunk
+ sha256sums = SKIP
+
+pkgname = not-forking
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 000000000000..3069deb1417e
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,4 @@
+src/
+pkg/
+*.pkg.*
+*.tar.*
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 000000000000..23f15d720616
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,34 @@
+# Maintainer: Ewout van Mansom <ewout@vanmansom.name>
+
+pkgname=not-forking
+pkgver=1.0
+pkgrel=1
+pkgdesc='The Not-forking Software Reproducibility Tool'
+arch=('any')
+url="https://lumosql.org/src/not-forking"
+license=('GPL' 'PerlArtistic')
+depends=('perl')
+options=('!emptydirs' 'purge')
+source=("${pkgname}-${pkgver}::fossil+${url}#branch=trunk")
+sha256sums=(SKIP)
+
+build() {
+ cd "${pkgname}-${pkgver}"
+ unset PERL5LIB PERL_MM_OPT PERL_LOCAL_LIB_ROOT
+ export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps
+ /usr/bin/perl Makefile.PL
+ make
+}
+
+check() {
+ cd "${pkgname}-${pkgver}"
+ unset PERL5LIB PERL_MM_OPT PERL_LOCAL_LIB_ROOT
+ export PERL_MM_USE_DEFAULT=1
+ make test
+}
+
+package() {
+ cd "${pkgname}-${pkgver}"
+ unset PERL5LIB PERL_MM_OPT PERL_LOCAL_LIB_ROOT
+ make install INSTALLDIRS=vendor DESTDIR="$pkgdir"
+}