[arch-commits] Commit in csfml/repos (4 files)
Evangelos Foutras
foutrelis at archlinux.org
Mon Dec 7 07:19:24 UTC 2015
Date: Monday, December 7, 2015 @ 08:19:24
Author: foutrelis
Revision: 149693
archrelease: copy trunk to community-staging-i686, community-staging-x86_64
Added:
csfml/repos/community-staging-i686/
csfml/repos/community-staging-i686/PKGBUILD
(from rev 149692, csfml/trunk/PKGBUILD)
csfml/repos/community-staging-x86_64/
csfml/repos/community-staging-x86_64/PKGBUILD
(from rev 149692, csfml/trunk/PKGBUILD)
-----------------------------------+
community-staging-i686/PKGBUILD | 34 ++++++++++++++++++++++++++++++++++
community-staging-x86_64/PKGBUILD | 34 ++++++++++++++++++++++++++++++++++
2 files changed, 68 insertions(+)
Copied: csfml/repos/community-staging-i686/PKGBUILD (from rev 149692, csfml/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2015-12-07 07:19:24 UTC (rev 149693)
@@ -0,0 +1,34 @@
+# $Id$
+# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
+
+pkgname=csfml
+pkgver=2.3
+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=('eb99a783e367e018333e622945d232d2')
+
+build() {
+ cd "$srcdir"/CSFML-${pkgver}
+
+ mkdir build && cd build
+ cmake .. \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCSFML_BUILD_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
+}
+
Copied: csfml/repos/community-staging-x86_64/PKGBUILD (from rev 149692, csfml/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2015-12-07 07:19:24 UTC (rev 149693)
@@ -0,0 +1,34 @@
+# $Id$
+# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
+
+pkgname=csfml
+pkgver=2.3
+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=('eb99a783e367e018333e622945d232d2')
+
+build() {
+ cd "$srcdir"/CSFML-${pkgver}
+
+ mkdir build && cd build
+ cmake .. \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCSFML_BUILD_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
+}
+
More information about the arch-commits
mailing list