blob: bbf1f94906f6313a3b01f265ef7d1ba13ed3a902 (
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
37
38
39
40
41
|
# Maintainer: robertfoster
pkgname=libshout-idjc-git
pkgver=898.4b1539c
pkgrel=1
pkgdesc="Libshout library plus some extensions for IDJC."
arch=(i686 x86_64)
url="http://idjc.sourceforge.net/"
depends=('libvorbis' 'libtheora' 'speex' 'openssl' 'twolame')
makedepends=('git')
replaces=('libshout')
conflicts=('libshout-idjc')
options=('!emptydirs')
source=('libshout-idjc::git+https://git.code.sf.net/p/idjc/code')
license=('LGPL')
prepare() {
cd $srcdir/libshout-idjc/libshout-idjc
sed -e 's/SSLeay_add_all_algorithms/OpenSSL_add_all_algorithms/g' -i src/tls.c
}
build(){
cd $srcdir/libshout-idjc
./bootstrap
cd libshout-idjc
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var
make
}
package() {
cd $srcdir/libshout-idjc/libshout-idjc
make DESTDIR="${pkgdir}" install
make DESTDIR="${pkgdir}" uninstall-m4dataDATA
}
pkgver() {
cd libshout-idjc
echo $(git rev-list --count master).$(git rev-parse --short master)
}
md5sums=('SKIP')
|