diff options
author | Bartłomiej Piotrowski | 2018-01-06 14:39:11 +0100 |
---|---|---|
committer | Bartłomiej Piotrowski | 2018-01-06 14:39:11 +0100 |
commit | f803077e54a3a5cdc3e12d6657bc55400fcc2334 (patch) | |
tree | aa42bced631e7ab9dd17004f639b688e76968737 | |
download | aur-commoncpp2.tar.gz |
Import from official repositories
-rw-r--r-- | .SRCINFO | 20 | ||||
-rw-r--r-- | PKGBUILD | 39 |
2 files changed, 59 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..8c90a3bfddec --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,20 @@ +pkgbase = commoncpp2 + pkgdesc = GNU Common C++ 2 + pkgver = 1.8.1 + pkgrel = 7 + url = http://www.gnu.org/software/commoncpp/ + arch = x86_64 + license = GPL + license = custom + depends = gcc-libs + depends = zlib + depends = sh + options = !makeflags + source = https://ftp.gnu.org/pub/gnu/commoncpp/commoncpp2-1.8.1.tar.gz + source = https://ftp.gnu.org/pub/gnu/commoncpp/commoncpp2-1.8.1.tar.gz.sig + validpgpkeys = 84344FAA5350F5C61D2CE4A4046AC7983903A6DD + sha256sums = 53ced4aff74e28a1d8018eb2b4974519028db3c12471ab6dff1c873578c9af4e + sha256sums = SKIP + +pkgname = commoncpp2 + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..9f72a9ca60e6 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,39 @@ +# $Id: PKGBUILD 266875 2017-11-15 14:29:11Z foutrelis $ +# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> +# Contributor: Franco Tortoriello <franco.tortoriello@gmail.com> +# Contributor: Andrea Scarpino <andrea@archlinux.org> +# Contributor: Jeff Mickey <jeff@archlinux.org> +# Contributor: John Proctor <jproctor@prium.net> +# Contributor: Alexander Rødseth <rodseth@gmail.com> + +pkgname=commoncpp2 +pkgver=1.8.1 +pkgrel=7 +pkgdesc="GNU Common C++ 2" +arch=('x86_64') +url='http://www.gnu.org/software/commoncpp/' +license=('GPL' 'custom') +depends=('gcc-libs' 'zlib' 'sh') +options=('!makeflags') +validpgpkeys=('84344FAA5350F5C61D2CE4A4046AC7983903A6DD') +source=("https://ftp.gnu.org/pub/gnu/commoncpp/$pkgname-$pkgver.tar.gz"{,.sig}) +sha256sums=('53ced4aff74e28a1d8018eb2b4974519028db3c12471ab6dff1c873578c9af4e' + 'SKIP') + +build() { + cd "$srcdir/$pkgname-$pkgver" + + sed -i -e '50 a\#include <sys/stat.h>' inc/cc++/applog.h + ./configure --prefix=/usr --mandir=/usr/share/man + make +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + + make DESTDIR="$pkgdir" install + install -Dm644 COPYING.addendum \ + "$pkgdir/usr/share/licenses/$pkgname/LICENSE" +} + +# vim:set ts=2 sw=2 et: |