blob: cf1fd38d7906bf8aca85261018f2ec92912fe854 (
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: Vadim Yanitskiy <fixeria@osmocom.org>
_hgname=gsm-codec-lib
pkgname="freecalypso-${_hgname}"
pkgver=r3
pkgrel=1
pkgdesc="FreeCalypso GSM codec libraries and utilities"
arch=('x86_64' 'i686')
url="https://www.freecalypso.org/hg/${_hgname}"
license=('custom')
groups=('freecalypso')
conflicts=("${pkgname}-hg")
_tarname="${_hgname}-${pkgver}"
source=("https://www.freecalypso.org/pub/GSM/codecs/${_tarname}.tar.bz2")
sha256sums=('f5b9e719b4c715c9d9e3bbbf89c12eacdf6030f357d226cef3ec33a6a123a6ea')
build() {
cd "${_tarname}"
./configure --prefix="/usr" CFLAGS="-std=gnu89 ${CFLAGS}"
make
}
package() {
cd "${_tarname}"
install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
install -d "${pkgdir}/usr/share/doc/${pkgname}"
cp -r doc/* "${pkgdir}/usr/share/doc/${pkgname}/"
make DESTDIR=$pkgdir install
}
|