summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorPiotr Rogoża2016-03-17 22:06:44 +0100
committerPiotr Rogoża2016-03-17 22:06:44 +0100
commit855ca18826aaff6018d8c41e25ce6feebb3cad05 (patch)
tree355419b542f2b9c7ad8e28870a72723360a60d95
parentc811e1adf5b8f8888d307adbb3a0d1442e06f61c (diff)
downloadaur-855ca18826aaff6018d8c41e25ce6feebb3cad05.tar.gz
Fixed depends, improved PKGBUILD
-rw-r--r--.SRCINFO13
-rw-r--r--PKGBUILD33
2 files changed, 18 insertions, 28 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 50e0487258d..461e2ee7600 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,22 +1,23 @@
+# Generated by mksrcinfo v8
+# Thu Mar 17 21:06:15 UTC 2016
pkgbase = zthread
pkgdesc = A platform-independent, multi-threading and synchronization library for C++
pkgver = 2.3.2
- pkgrel = 1
+ pkgrel = 2
url = http://zthread.sourceforge.net/
arch = i686
arch = x86_64
license = MIT
- makedepends = automake=1.10
+ makedepends = automake=1.7
depends = bash
- depends = gcc-libs
options = !emptydirs
options = libtool
source = zthread-2.3.2.tar.gz::http://prdownloads.sourceforge.net/zthread/ZThread-2.3.2.tar.gz
source = zthread.patch
source = https://raw.github.com/freddix/pkgs.old/master/ZThread/ZThread-destdir.patch
- md5sums = f2782d19b8ed6f1ff2ab8824dd4ba48e
- md5sums = 060cca98aa08f5ebed17d6a1650ddc07
- md5sums = bd43a630a11380918e048f471b8f937a
+ sha256sums = 950908b7473ac10abb046bd1d75acb5934344e302db38c2225b7a90bd1eda854
+ sha256sums = d0c996aad95f90d7465171b184c0f062145e8b0bea7a74df9ddc2e659f3f13f4
+ sha256sums = 67401dc12da4f96d598689aa8aa0f2caa9e6a82a31cad62f0d6d9a3eb7fdbb6c
pkgname = zthread
diff --git a/PKGBUILD b/PKGBUILD
index 546a45f9655..c260e903fce 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,47 +1,36 @@
-# vim:set ts=2 sw=2 et ft=sh tw=100: expandtab
-# Maintainer: Piotr Rogoża <rogoza dot piotr at gmail dot com>
-# Contributor: Piotr Rogoża <rogoza dot piotr at gmail dot com>
+# Maintainer: dracorp aka Piotr Rogoza <piotr.r.public@gmail.com>
pkgname=zthread
_pkgname=ZThread
pkgver=2.3.2
-pkgrel=1
+pkgrel=2
pkgdesc='A platform-independent, multi-threading and synchronization library for C++'
arch=('i686' 'x86_64')
url='http://zthread.sourceforge.net/'
license=('MIT')
-groups=()
-depends=(bash gcc-libs)
-makedepends=('automake=1.10')
-optdepends=()
-provides=()
-conflicts=()
-replaces=()
-backup=()
-options=()
-install=''
+depends=(bash)
+makedepends=('automake=1.7')
options=(!emptydirs libtool)
source=("$pkgname-$pkgver.tar.gz::http://prdownloads.sourceforge.net/zthread/ZThread-${pkgver}.tar.gz"
zthread.patch
https://raw.github.com/freddix/pkgs.old/master/ZThread/ZThread-destdir.patch
)
-noextract=()
-
-build(){
+sha256sums=('950908b7473ac10abb046bd1d75acb5934344e302db38c2225b7a90bd1eda854'
+ 'd0c996aad95f90d7465171b184c0f062145e8b0bea7a74df9ddc2e659f3f13f4'
+ '67401dc12da4f96d598689aa8aa0f2caa9e6a82a31cad62f0d6d9a3eb7fdbb6c')
+prepare(){
cd "$srcdir"/$_pkgname-$pkgver
patch -p1 -i $srcdir/zthread.patch
patch -p1 -i $srcdir/ZThread-destdir.patch
+}
+build(){
+ cd "$srcdir"/$_pkgname-$pkgver
CXXFLAGS+=' -fpermissive'
-
./configure --prefix=/usr
make
}
package(){
cd "$srcdir"/$_pkgname-$pkgver
-
make DESTDIR="$pkgdir/" install
install -Dm644 MIT.TXT "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
}
-md5sums=('f2782d19b8ed6f1ff2ab8824dd4ba48e'
- '060cca98aa08f5ebed17d6a1650ddc07'
- 'bd43a630a11380918e048f471b8f937a')