summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 43fca7a5d80bc2fc82e212c791b3afaffddde6e9 (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
pkgname=linphone-plugin-msx264
_pkgname=msx264
pkgver=1.5.2
pkgrel=2
pkgdesc="Linphone plugin that enables H.264 video codec"
url="http://www.linphone.org/"
arch=('i686' 'x86_64')
license=('GPL')
source=(http://download-mirror.savannah.gnu.org/releases/linphone/plugins/sources/$_pkgname-$pkgver.tar.gz)
depends=('linphone')
options=('!makeflags')
md5sums=('877113f35d47b68b0ee60f934a2fee3f')
 
build() {
 
cd "$srcdir/$_pkgname-$pkgver"
 
autoreconf --force --install
./configure --prefix=/usr
 
#Fix build error
sed -i 's/-Werror//g' src/Makefile

make
}
 
package() {
 
cd "$srcdir/$_pkgname-$pkgver"
 
make PACKAGE_PLUGINS_DIR=\$\(libdir\)/liblinphone/plugins DESTDIR="$pkgdir" install
}