blob: 55d19980b07863be83e57ff62822c7e25911825f (
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
32
33
34
35
36
|
# Maintainer: David Thurstenson <thurstylark@gmail.com>
pkgname=mmdvmhost-git
pkgver=r2193.f71c8ce
pkgrel=2
pkgdesc="The host program for the MMDVM"
arch=('x86_64' 'i686')
url="https://github.com/g4klx/MMDVMHost"
license=('GPL2')
depends=()
makedepends=('git') # 'bzr', 'git', 'mercurial' or 'subversion'
provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}")
install=mmdvmhost.install
source=('mmdvmhost::git+https://github.com/g4klx/MMDVMHost.git')
md5sums=('SKIP')
backup=('etc/MMDVM.ini')
pkgver() {
cd "$srcdir/${pkgname%-git}"
# Git, no tags available
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd "$srcdir/${pkgname%-git}"
make all
}
package() {
cd "$srcdir/${pkgname%-git}"
install -Dm 755 MMDVMHost "${pkgdir}/usr/bin/MMDVMHost"
install -Dm 755 RemoteCommand "${pkgdir}/usr/bin/RemoteCommand"
install -Dm 600 MMDVM.ini "${pkgdir}/etc/MMDVM.ini"
}
|