summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorber532k2017-03-29 17:08:33 +0200
committerber532k2017-03-29 17:08:33 +0200
commit355ba98e4a194e292a1cdc29d4f3431c63bb6b80 (patch)
tree9dd26775c2d8dff1ca78f46295bef4ca6a60d26f
downloadaur-355ba98e4a194e292a1cdc29d4f3431c63bb6b80.tar.gz
initial commit, working
-rw-r--r--.SRCINFO15
-rw-r--r--PKGBUILD27
2 files changed, 42 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..5b8acd7b242
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,15 @@
+pkgbase = libxlsxwriter
+ pkgdesc = A C library for creating Excel XLSX files.
+ pkgver = 0.6.9
+ pkgrel = 1
+ url = http://libxlsxwriter.github.io
+ arch = i686
+ arch = x86_64
+ license = BSD
+ makedepends = git
+ depends = zlib
+ source = https://github.com/jmcnamara/libxlsxwriter/archive/RELEASE_0.6.9.tar.gz
+ md5sums = 83019c977921ec31c946969df0397437
+
+pkgname = libxlsxwriter
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..d0a024b535e
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,27 @@
+# Maintainer: ber532k <ber532k@gmx.de>
+
+pkgname=libxlsxwriter
+pkgver=0.6.9
+pkgrel=1
+pkgdesc='A C library for creating Excel XLSX files.'
+arch=('i686' 'x86_64')
+url='http://libxlsxwriter.github.io'
+depends=(zlib)
+makedepends=(git)
+license=('BSD')
+source=("https://github.com/jmcnamara/libxlsxwriter/archive/RELEASE_0.6.9.tar.gz")
+md5sums=('83019c977921ec31c946969df0397437')
+
+build() {
+ cd "$srcdir/$pkgname-RELEASE_$pkgver/"
+ make
+}
+
+package() {
+ cd "$srcdir/$pkgname-RELEASE_$pkgver"
+ mkdir -p $pkgdir/usr/include
+ cp -r include/* $pkgdir/usr/include/
+ mkdir -p $pkgdir/usr/lib
+ cp -r lib/* $pkgdir/usr/lib/
+ install -D -m644 LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}