blob: cabaafe5bafa07bda11d6baa83ae3c2b31ddb89b (
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: Vadim Yanitskiy <fixeria@osmocom.org>
_hgname=themwi-ota-tools
_pkgname=freecalypso-ota-tools
pkgname="${_pkgname}-hg"
pkgver=r11.b4b4a822286c
pkgrel=1
pkgdesc="FreeCalypso tools for OTA SIM programming"
arch=('x86_64' 'i686')
url="https://www.freecalypso.org/hg/${_hgname}"
license=('custom')
groups=('freecalypso')
depends=('openssl')
makedepends=('mercurial')
conflicts=("${_pkgname}")
source=("hg+https://www.freecalypso.org/hg/${_hgname}")
md5sums=('SKIP')
pkgver() {
cd "${_hgname}"
printf "r%s.%s" "$(hg identify -n)" "$(hg identify -i)"
}
build() {
cd "${_hgname}"
./configure --prefix="/usr" CFLAGS="-std=gnu89 ${CFLAGS}"
make
}
package() {
cd "${_hgname}"
install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${_pkgname}/LICENSE"
make DESTDIR=$pkgdir install
}
|