summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authororumin2016-06-12 02:09:56 +0900
committerorumin2016-06-12 02:11:50 +0900
commitd1defb7ff49ecca53a4ca72095f6edcc99a7cf7c (patch)
tree05996cf3ef8c69e22ba251de853409ceaf647ab9
downloadaur-d1defb7ff49ecca53a4ca72095f6edcc99a7cf7c.tar.gz
Initial commit
-rw-r--r--.SRCINFO16
-rw-r--r--PKGBUILD40
2 files changed, 56 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..cdfee6bfdae
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,16 @@
+# Generated by mksrcinfo v8
+# Sat Jun 11 17:11:16 UTC 2016
+pkgbase = lib32-check
+ pkgdesc = A unit testing framework for C (32-bit)
+ pkgver = 0.10.0
+ pkgrel = 1
+ url = http://check.sourceforge.net/
+ arch = x86_64
+ license = LGPL
+ depends = awk
+ depends = check
+ source = http://downloads.sourceforge.net/sourceforge/check/check-0.10.0.tar.gz
+ md5sums = 53c5e5c77d090e103a17f3ed7fd7d8b8
+
+pkgname = lib32-check
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..bb00ad1e63d
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,40 @@
+# Maintainer: orumin <dev@orum.in>
+
+_basename=check
+pkgname="lib32-$_basename"
+pkgver=0.10.0
+pkgrel=1
+pkgdesc="A unit testing framework for C (32-bit)"
+arch=('x86_64')
+url="http://check.sourceforge.net/"
+license=('LGPL')
+depends=('awk' "$_basename")
+source=(http://downloads.sourceforge.net/sourceforge/$_basename/$_basename-$pkgver.tar.gz)
+md5sums=('53c5e5c77d090e103a17f3ed7fd7d8b8')
+
+build() {
+ cd $_basename-$pkgver
+
+ export CC='gcc -m32'
+ export CXX='g++ -m32'
+ export PKG_CONFIG_PATH='/usr/lib32/pkgconfig'
+
+ ./configure --prefix=/usr --disable-static \
+ --build=i686-pc-linux-gnu --libdir=/usr/lib32
+ make
+}
+
+check() {
+ cd $_basename-$pkgver
+ # Extremely long
+ #make -k check
+}
+
+package() {
+ cd $_basename-$pkgver
+ make DESTDIR="$pkgdir" install
+
+ cd "$pkgdir"/usr
+ rm -r bin include share
+
+}