From cc7e7f616aab63fe599c89d2fae7aaff4309b7e4 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sat, 17 Feb 2024 16:46:31 +0100 Subject: Add makeenv 1.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- makeenv/PKGBUILD | 23 +++++++++++++++++++++++ makeenv/upload | 1 + 2 files changed, 24 insertions(+) create mode 100644 makeenv/PKGBUILD create mode 120000 makeenv/upload (limited to 'makeenv') 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 -- cgit v1.2.3-70-g09d2