aboutsummaryrefslogtreecommitdiffstats
path: root/makeenv
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2024-02-17 16:46:31 +0100
committerMattias Andrée <maandree@kth.se>2024-02-17 16:46:31 +0100
commitcc7e7f616aab63fe599c89d2fae7aaff4309b7e4 (patch)
treeed91b9cec47f02a54bac8be439d2af650d611394 /makeenv
parentUpdate simple-icon-theme to version 12 (diff)
downloadaur-packages-cc7e7f616aab63fe599c89d2fae7aaff4309b7e4.tar.gz
aur-packages-cc7e7f616aab63fe599c89d2fae7aaff4309b7e4.tar.bz2
aur-packages-cc7e7f616aab63fe599c89d2fae7aaff4309b7e4.tar.xz
Add makeenv 1.0
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'makeenv')
-rw-r--r--makeenv/PKGBUILD23
l---------makeenv/upload1
2 files changed, 24 insertions, 0 deletions
diff --git a/makeenv/PKGBUILD b/makeenv/PKGBUILD
new file mode 100644
index 0000000..4289821
--- /dev/null
+++ b/makeenv/PKGBUILD
@@ -0,0 +1,23 @@
+# Maintainer: Mattias Andrée <`base64 -d`(bWFhbmRyZWUK)@kth.se>
+
+pkgname=makeenv
+pkgver=1.0
+pkgrel=1
+pkgdesc='Run make(1) with environment loaded from .makeenv'
+url='https://codeberg.org/maandree/makeenv'
+arch=(any)
+license=('custom:ISC')
+depends=()
+makedepends=()
+source=($pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz)
+sha512sums=(5556490f697cf1a38051d2da2e218f7b1c99d5262affe9f4e68aef483157e1255efdc3fe0001cf2c593d6248e8c9ab4a46e10bc5d7e999a7b9ffd1e05b5c0301)
+
+build () {
+ cd "$srcdir/makeenv"
+ make PREFIX=/usr
+}
+
+package () {
+ cd "$srcdir/makeenv"
+ make PREFIX=/usr DESTDIR="$pkgdir" install
+}
diff --git a/makeenv/upload b/makeenv/upload
new file mode 120000
index 0000000..1e7a8be
--- /dev/null
+++ b/makeenv/upload
@@ -0,0 +1 @@
+../upload \ No newline at end of file