blob: 8ce644afd5cc5c068933cac199835a1ea357a08f (
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
|
# Maintainer: Otto Ahoniemi <otto@ottoahoniemi.fi>
pkgname=kanttiinit-git
dest=cli
pkgver=v0.0.3.r13.g7600b66
pkgrel=2
pkgdesc="Command-line interface for Kanttiinit, a Finnish student restaurant menu tool (git)"
arch=("any")
url="https://github.com/Kanttiinit/cli"
depends=("curl")
makedepends=("gcc" "make" "git")
source=("git+$url")
sha512sums=("SKIP")
build() {
cd $dest
make
}
pkgver() {
cd $dest
git describe --long --tags | sed "s/\([^-]*-g\)/r\1/;s/-/./g"
}
package() {
cd $dest
install -D kanttiinit -t "$pkgdir"/usr/bin
}
|