summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: e12728a550e6b0b89dbff9127ff80dfa3139b2f4 (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 -Dm755 -t "$pkgdir/usr/bin/" "$_pkgname"
}