[arch-commits] Commit in ctemplate/repos (2 files)

Christian Hesse eworm at archlinux.org
Sun Mar 8 19:38:57 UTC 2020


    Date: Sunday, March 8, 2020 @ 19:38:56
  Author: eworm
Revision: 592410

archrelease: copy trunk to community-testing-x86_64

Added:
  ctemplate/repos/community-testing-x86_64/
  ctemplate/repos/community-testing-x86_64/PKGBUILD
    (from rev 592409, ctemplate/trunk/PKGBUILD)

----------+
 PKGBUILD |   38 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 38 insertions(+)

Copied: ctemplate/repos/community-testing-x86_64/PKGBUILD (from rev 592409, ctemplate/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD	                        (rev 0)
+++ community-testing-x86_64/PKGBUILD	2020-03-08 19:38:56 UTC (rev 592410)
@@ -0,0 +1,38 @@
+# Maintainer: Christian Hesse <mail at eworm.de>
+# Contributor: Marcel Korpel <marcel[dot]korpel[at]gmail>
+# Contributor: Ivan Sichmann Freitas <ivansichfreitas at gmail.com>
+# Contributor: Jaroslav Lichtblau <dragonlord at aur.archlinux.org>
+# Contributor: Jeff Mickey <jeff at archlinux.org>
+
+pkgname=ctemplate
+pkgver=2.4
+pkgrel=1
+pkgdesc='A library implementing a simple but powerful template language for C++'
+arch=('x86_64')
+url='https://github.com/olafvdspek/ctemplate'
+license=('BSD')
+makedepends=('python')
+depends=('gcc-libs' 'perl')
+source=("https://github.com/OlafvdSpek/${pkgname}/archive/${pkgname}-${pkgver}.tar.gz")
+sha256sums=('ccc4105b3dc51c82b0f194499979be22d5a14504f741115be155bd991ee93cfa')
+
+prepare() {
+	cd "${srcdir}/${pkgname}-${pkgname}-${pkgver}"
+
+	autoreconf -fi
+}
+
+build() {
+	cd "${srcdir}/${pkgname}-${pkgname}-${pkgver}"
+
+	./configure \
+		--prefix=/usr
+	make
+}
+
+package() {
+	cd "${srcdir}/${pkgname}-${pkgname}-${pkgver}"
+
+	make DESTDIR="${pkgdir}" install
+	install -D -m0644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}



More information about the arch-commits mailing list