[arch-commits] Commit in csfml/repos/community-x86_64 (PKGBUILD PKGBUILD)

Sven-Hendrik Haase svenstaro at archlinux.org
Tue Jul 28 01:03:29 UTC 2020


    Date: Tuesday, July 28, 2020 @ 01:03:27
  Author: svenstaro
Revision: 665589

archrelease: copy trunk to community-x86_64

Added:
  csfml/repos/community-x86_64/PKGBUILD
    (from rev 665588, csfml/trunk/PKGBUILD)
Deleted:
  csfml/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   67 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 34 insertions(+), 33 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-07-28 01:03:19 UTC (rev 665588)
+++ PKGBUILD	2020-07-28 01:03:27 UTC (rev 665589)
@@ -1,33 +0,0 @@
-# Maintainer: Sven-Hendrik Haase <svenstaro at gmail.com>
-
-pkgname=csfml
-pkgver=2.5
-pkgrel=3
-pkgdesc='C bindings for sfml'
-arch=('x86_64')
-url='http://www.sfml-dev.org/'
-license=('zlib')
-depends=("sfml")
-makedepends=('cmake' 'doxygen')
-source=("${pkgname}-${pkgver}.tar.gz::https://github.com/SFML/CSFML/archive/${pkgver}.tar.gz")
-sha512sums=('186ed87d8b925cfd51cc4aa0ba440407d18adc875da760576b5fafdf3e8c7e01ca0f594d9950495eb3e607c65bff12341a81df24af81043dce89d25d7cc24626')
-
-build() {
-  cd CSFML-*
-
-  mkdir build && cd build
-  cmake .. \
-      -DCMAKE_INSTALL_PREFIX=/usr \
-      -DCSFML_BUILD_DOC=true
-  make
-  make doc
-}
-
-package() {
-  cd CSFML-*/build
-
-  make DESTDIR="$pkgdir/" install
-
-  install -Dm644 ../license.txt ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
-}
-

Copied: csfml/repos/community-x86_64/PKGBUILD (from rev 665588, csfml/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-07-28 01:03:27 UTC (rev 665589)
@@ -0,0 +1,34 @@
+# Maintainer: Sven-Hendrik Haase <svenstaro at gmail.com>
+
+pkgname=csfml
+pkgver=2.5
+pkgrel=4
+pkgdesc='C bindings for sfml'
+arch=('x86_64')
+url='http://www.sfml-dev.org/'
+license=('custom:zlib')
+depends=("sfml")
+makedepends=('cmake' 'doxygen' 'ninja')
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/SFML/CSFML/archive/${pkgver}.tar.gz")
+sha512sums=('5eca2052e901d52eb3a0f3c796f949f63263ef6d55be441c6bd7e153427c997a0f5bb28c0096979515d327d313637dd9537bcb407204b0a583f25515115362bf')
+
+build() {
+  cd CSFML-*
+
+  cmake . \
+      -Bbuild \
+      -GNinja \
+      -DCMAKE_INSTALL_PREFIX=/usr \
+      -DCSFML_BUILD_DOC=true
+  ninja -C build
+  ninja -C build doc
+}
+
+package() {
+  cd CSFML-*
+
+  DESTDIR="$pkgdir/" ninja -C build install
+
+  install -Dm644 license.txt ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
+}
+


More information about the arch-commits mailing list