author | Sven-Hendrik Haase
<svenstaro@archlinux.org> 2018-10-17 21:49:43 UTC |
committer | Sven-Hendrik Haase
<svenstaro@archlinux.org> 2018-10-17 21:49:43 UTC |
parent | d598387bbb9b1f4dae265cc6a4a6e2c534942276 |
PKGBUILD | +6 | -5 |
diff --git a/PKGBUILD b/PKGBUILD index 3e592db..541e609 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,7 +1,8 @@ # Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com> pkgname=csfml -pkgver=2.4 +pkgver=2.5 +_commit=bff4a69a73da8be79b786c6d249e4a36296a58fe pkgrel=1 pkgdesc='C bindings for sfml' arch=('x86_64') @@ -9,11 +10,11 @@ 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") -sha512sums=('6a194c2640002065219c6c562e5c3f41a3174d91d268c75609d6cd8f18e7f10fc33aa057b7d1aefcd63747448e551874b306eff816f579a965965d5195da988f') +source=("${pkgname}-${pkgver}.tar.gz::https://github.com/LaurentGomila/CSFML/archive/${_commit}.tar.gz") +sha512sums=('5eca2052e901d52eb3a0f3c796f949f63263ef6d55be441c6bd7e153427c997a0f5bb28c0096979515d327d313637dd9537bcb407204b0a583f25515115362bf') build() { - cd "$srcdir"/CSFML-${pkgver} + cd CSFML-* mkdir build && cd build cmake .. \ @@ -24,7 +25,7 @@ build() { } package() { - cd "$srcdir"/CSFML-${pkgver}/build + cd CSFML-*/build make DESTDIR="$pkgdir/" install