blob: e9e8e1347be07534531c33fdf13a3c53365c495f (
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
|
# Maintainer: Alex David <flu0r1ne@flu0r1ne.net>
# Contributor: Alex David <flu0r1ne@flu0r1ne.net>
pkgname="git-update-agent"
pkgver=0.0.5.r2.gc04e2d0
pkgrel=1
pkgdesc='A script for updating code hand off with git'
url="https://www.git.flu0r1ne.net/${pkgbase}/about"
arch=('any')
license=('GPL')
depends=('bash')
makedepends=('git')
source=("git+https://www.git.flu0r1ne.net/${pkgname}")
sha256sums=('SKIP')
pkgver() {
git -C "${pkgname}" \
describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
make -C "${pkgname}"
}
package() {
make -C "${pkgname}" \
DESTDIR="${pkgdir}/" \
PREFIX=/usr \
install
}
|