summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorBuildTools2016-04-30 15:06:14 -0700
committerBuildTools2016-04-30 15:06:14 -0700
commit9d783cb17558cea168d246864730930f11c65864 (patch)
treed63a92cf5f31432edfa46b26fa8f678a7f6eda1a
downloadaur-9d783cb17558cea168d246864730930f11c65864.tar.gz
init
-rw-r--r--.SRCINFO19
-rw-r--r--.gitignore4
-rw-r--r--PKGBUILD31
3 files changed, 54 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..113e07e23ee
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,19 @@
+# Generated by mksrcinfo v8
+# Sat Apr 30 22:05:30 UTC 2016
+pkgbase = djgpp-zlib
+ pkgdesc = Compression library implementing the deflate compression method found in gzip and PKZIP (DJGPP)
+ pkgver = 1.2.8
+ pkgrel = 1
+ url = http://www.zlib.net/
+ arch = any
+ license = custom
+ makedepends = djgpp-cmake
+ depends = djgpp-djcrx
+ options = !strip
+ options = !buildflags
+ options = staticlibs
+ source = http://zlib.net/zlib-1.2.8.tar.gz
+ md5sums = 44d667c142d7cda120332623eab69f40
+
+pkgname = djgpp-zlib
+
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..25cca9a92b3
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,4 @@
+pkg/
+src/
+*.gz
+*.xz
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..ba9d110d60b
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,31 @@
+pkgname=djgpp-zlib
+pkgver=1.2.8
+pkgrel=1
+pkgdesc="Compression library implementing the deflate compression method found in gzip and PKZIP (DJGPP)"
+arch=(any)
+license=("custom")
+depends=(djgpp-djcrx)
+makedepends=(djgpp-cmake)
+url="http://www.zlib.net/"
+source=("http://zlib.net/zlib-${pkgver}.tar.gz")
+options=(!strip !buildflags staticlibs)
+md5sums=('44d667c142d7cda120332623eab69f40')
+
+_architectures="i686-w64-mingw32 x86_64-w64-mingw32"
+
+build() {
+ unset LDFLAGS
+ cd zlib-$pkgver
+ i686-pc-msdosdjgpp-cmake \
+ -DASM686=ON
+ make zlibstatic
+}
+
+package () {
+ cd zlib-$pkgver
+ install -Dm644 libzlibstatic.a "$pkgdir/usr/i686-pc-msdosdjgpp/lib/libz.a"
+ install -Dm644 zconf.h "$pkgdir/usr/i686-pc-msdosdjgpp/include/zconf.h"
+ install -m644 zlib.h "$pkgdir/usr/i686-pc-msdosdjgpp/include/"
+ install -Dm644 zlib.pc "$pkgdir/usr/i686-pc-msdosdjgpp/lib/pkgconfig/zlib.pc"
+ find "$pkgdir" -name '*.a' -exec i686-pc-msdosdjgpp-strip -g {} \;
+}