blob: 71da6c847d02bfb6948df0b9ddc51e7e7cd37196 (
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
|
# $Id: PKGBUILD 103137 2013-12-27 11:10:36Z svenstaro $
# Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com>
pkgname=csfml
pkgver=2.1
pkgrel=2
pkgdesc='C bindings for sfml'
arch=('i686' 'x86_64')
url='http://www.sfml-dev.org/'
license=('zlib')
depends=("sfml")
makedepends=('cmake' 'doxygen')
source=("${pkgname}-${pkgver}::https://github.com/LaurentGomila/CSFML/archive/${pkgver}.tar.gz")
md5sums=('960085220e6978c720a62b02cc4a2ec4')
build() {
cd "$srcdir"/CSFML-${pkgver}
mkdir build && cd build
cmake .. \
-DCMAKE_INSTALL_PREFIX=/usr \
-DBUILD_DOC=true
make
make doc
}
package() {
cd "$srcdir"/CSFML-${pkgver}/build
make DESTDIR="$pkgdir/" install
install -Dm644 ../license.txt ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
}
|