aboutsummaryrefslogtreecommitdiffstats
path: root/makeenv/PKGBUILD
blob: b57a1dee07d7252fa189a1954d12db81d140382a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Maintainer: Mattias Andrée <`base64 -d`(bWF0dGlhcy5hbmRyZWU)@protonmail.com>

pkgname=makeenv
pkgver=1.0.1
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=(9c2009ef3a57586dd811d0d4f2b93876c5c26fc95ae8d3c1fbab131accb59961721b6bc553407985473c6169a65e04d74d6e552f6a8fc8e6069b27f4addc0f49)

build () {
	cd "$srcdir/makeenv"
	make PREFIX=/usr
}

package () {
	cd "$srcdir/makeenv"
	make PREFIX=/usr DESTDIR="$pkgdir" install
}