blob: cab50a342ffb11ce1f861edbe96828c3bedaff07 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
# Maintainer: Michael Picht <michael.picht@ussenterprise.de>
_pkgorg=github.com/mipimipi
pkgname=crema-git
_pkgname=crema
pkgver=1.1
pkgrel=1
pkgdesc="Manage your custom Arch Linux repository"
arch=('any')
url="https://$_pkgorg/$_pkgname"
license=('GPL3')
source=("git://$_pkgorg/$_pkgname.git")
md5sums=(SKIP)
depends=('aurutils')
pkgver() {
cd "$srcdir/$_pkgname"
printf "%s.r%s.g%s" "$(git describe)" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
package() {
cd "$srcdir/$_pkgname"
install -D -m 755 $_pkgname "$pkgdir/usr/bin"
}
|