blob: 9cdb7e4e1d42ef5aae8f3c64a542415299f76ffc (
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
|
# Maintainer: Jose Riha <jose1711 gmail com>
pkgname=mofilereader
pkgver=0.1.2
pkgrel=3
pkgdesc="API that lets you read .mo-Files and use their content just as you would do with GNUs gettext"
arch=('i686' 'x86_64')
url="http://code.google.com/p/mofilereader/"
makedepends=('cmake')
license=('MIT')
source=(https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/mofilereader/moFileReader.${pkgver}.zip)
# http://wiki.rigsofrods.com/images/1/1f/MoFR.patch
md5sums=('768b2e118c1e845622593e7c4b76777b')
build() {
cd $srcdir/src
# patch -p0 < ../MoFR.patch
cd ../build
cmake -DCMAKE_BUILD_TYPE=Release -DCOMPILE_DLL=ON .
make -j2
}
package() {
mkdir -p $pkgdir/usr/include
cd $srcdir/
install -D -m644 lib/libmoFileReader.so $pkgdir/usr/lib/libmoFileReader.so
install -D -m644 include/* $pkgdir/usr/include/
}
|