blob: 6b8ca9d5959bfa9b8e2cf87b7066547a4e34cb46 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
# Maintainer: not_anonymous <nmlibertarian@gmail.com>
pkgname=makepkg-meta
pkgver=r18.97242c5
pkgrel=1
pkgdesc="Easily create and install custom metapackages"
arch=('any')
url="https://github.com/andrewgregory/makepkg-meta"
license=('MIT')
depends=('bash')
makedepends=('git' 'perl')
source=("$pkgname::git+$url.git#branch=master")
md5sums=('SKIP')
pkgver() {
cd "$srcdir/$pkgname"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
prepare() {
cd "$srcdir/$pkgname"
sed -i s:'/local':: Makefile
}
build() {
cd "$srcdir/$pkgname"
make all
}
package() {
cd "$srcdir/$pkgname"
make DESTDIR="$pkgdir/" install
install -D -m 644 COPYING $pkgdir/usr/share/licenses/$pkgname/MIT-LICENSE
}
|