blob: 1efbf2f8df6265a438e640a95848cf5452b69513 (
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
|
# Maintainer: Luis Martinez <luis dot martinez at disroot dot org>
pkgname=genmake-templates-git
pkgver=r5.8ae831b
pkgrel=1
pkgdesc="Makefile templates for genmake"
arch=('any')
url="https://gitee.com/duapple/makefile"
license=('unknown')
makedepends=('git')
provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}")
source=("$pkgname::git+$url")
sha256sums=('SKIP')
pkgver() {
cd "$pkgname"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
package() {
cd "$pkgname"
install -Dm644 * -t "$pkgdir/usr/local/genmake/config/makefile"
}
|