summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore4
-rw-r--r--ucommon/PKGBUILD32
2 files changed, 36 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e0f928ddc..4d9bcf76f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,10 +1,14 @@
*.db
*.tar
+*.tar.sig
*.tar.xz
*.tar.xz.sig
*.tar.gz
+*.tar.gz.sig
*.zip
+*.zip.sig
*.tgz
+*.tgz.sig
*.log
.checkAllRepos
src
diff --git a/ucommon/PKGBUILD b/ucommon/PKGBUILD
new file mode 100644
index 000000000..a893a0ace
--- /dev/null
+++ b/ucommon/PKGBUILD
@@ -0,0 +1,32 @@
+# Maintainer: Erich Eckner <arch at eckner dot net>
+# Contributor: Timothy Redaelli <timothy.redaelli@gmail.com>
+# Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com>
+
+pkgname=ucommon
+pkgver=6.5.3
+pkgrel=1
+pkgdesc="A light-weight C++ library to facilitate using C++ design patterns"
+arch=('i686' 'x86_64')
+url="http://www.gnutelephony.org/index.php/GNU_uCommon_C++"
+license=('LGPL3')
+depends=('gnutls')
+source=("http://ftp.gnu.org/pub/gnu/commoncpp/$pkgname-$pkgver.tar.gz"{,.sig})
+sha512sums=('7de9c76c711de08735b4d90716f0b0a458d81ebff6e6648ace84a2bcc17248fbee28d42c8ca327044975b5815c277fc34bf4f659589a97aa1b9ee6ad705faa27'
+ 'SKIP')
+validpgpkeys=('5CF995AAD5CC1E4079F76C38B1732A9CB37C87BA')
+
+build() {
+ cd ${pkgname}-${pkgver}
+ ./configure --prefix=/usr --with-sslstack=gnu --enable-socks --enable-stdcpp --enable-atomics --with-pkg-config
+ make
+}
+
+check() {
+ cd ${pkgname}-${pkgver}
+ make check
+}
+
+package() {
+ cd ${pkgname}-${pkgver}
+ make DESTDIR="${pkgdir}" install
+}