blob: b0ba513d884eb7a945127832fc02406a55e24694 (
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
31
|
# Maintainer: Sven Karsten Greiner <sven@sammyshp.de>
pkgname=acarsserv-git
pkgver=r7.6ce3128
pkgrel=1
pkgdesc="Writes messages from acarsdec or vdlm2dec into sqlite database"
arch=('x86_64')
url="https://github.com/TLeconte/acarsserv"
license=('GPL')
depends=('sqlite')
makedepends=('git')
optdepends=('acarsdec: Source for messages')
provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}")
source=("$pkgname::git+https://github.com/TLeconte/acarsserv.git")
sha256sums=('SKIP')
pkgver() {
cd "$pkgname"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd "$pkgname"
make -f Makefile
}
package() {
cd "$pkgname"
install -Dm755 acarsserv "$pkgdir/usr/bin/acarsserv"
}
|