summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorEngine Feeder 1012017-07-06 17:10:21 +0200
committerEngine Feeder 1012017-07-06 17:17:14 +0200
commit6715565eeafb5b00f87714796cce7d2cb1f9c504 (patch)
treebfde97e57d7029b3c8a0667678fd66b80e04e4a1
downloadaur-6715565eeafb5b00f87714796cce7d2cb1f9c504.tar.gz
First release. Version 1.2.
-rw-r--r--.SRCINFO13
-rw-r--r--PKGBUILD28
-rw-r--r--error.patch11
3 files changed, 52 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..183865b8bbf
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,13 @@
+pkgbase = getxbook
+ pkgver = 1.2
+ pkgrel = 1
+ url = https://njw.me.uk/getxbook/
+ arch = x86_64
+ license = custom:ISC
+ source = https://njw.me.uk/getxbook/getxbook-1.2.tar.xz
+ source = error.patch
+ sha512sums = fec397d4fd979421658f7ef9535f3c25369c8bd4ea2f9adcd719f760fd01265ed789f9eca34374b245c24acd485b951c91fa92a36d5b6401a0e0bf4db746788d
+ sha512sums = fe157499158205d97abdb3a0923fea709707d73a20f507f042c125de11012257165c66900de4439f1d68f5d63182ebc450598679f9e3ca4b5b6a88b3a6970ceb
+
+pkgname = getxbook
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..fcd77446ea1
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,28 @@
+# Maintainer: Engine Feeder <enginefeeder101@archlinux.info>
+pkgname=getxbook
+pkgver=1.2
+pkgrel=1
+pkgdesc=""
+arch=('x86_64')
+url="https://njw.me.uk/getxbook/"
+license=('custom:ISC')
+source=("$url$pkgname-$pkgver.tar.xz"
+ "error.patch")
+sha512sums=('fec397d4fd979421658f7ef9535f3c25369c8bd4ea2f9adcd719f760fd01265ed789f9eca34374b245c24acd485b951c91fa92a36d5b6401a0e0bf4db746788d'
+ 'fe157499158205d97abdb3a0923fea709707d73a20f507f042c125de11012257165c66900de4439f1d68f5d63182ebc450598679f9e3ca4b5b6a88b3a6970ceb')
+
+prepare() {
+ cd "$pkgname-$pkgver"
+ patch -p0 -i "$srcdir/error.patch"
+}
+
+build() {
+ cd "$pkgname-$pkgver"
+ make
+}
+
+package() {
+ cd "$pkgname-$pkgver"
+ make DESTDIR="$pkgdir/" PREFIX=/usr install
+ install -D -m644 "$srcdir/$pkgname-$pkgver/COPYING" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
diff --git a/error.patch b/error.patch
new file mode 100644
index 00000000000..a4579b11cf0
--- /dev/null
+++ b/error.patch
@@ -0,0 +1,11 @@
+--- config.mk 2015-07-28 17:52:40.000000000 +0200
++++ config.mk 2017-07-06 16:46:38.961046964 +0200
+@@ -8,7 +8,7 @@
+
+ LIBS = -lssl -lcrypto
+
+-CFLAGS = -std=c99 -pedantic -Wall -Wextra -Werror -g -D_POSIX_C_SOURCE=200112L \
++CFLAGS = -std=c99 -pedantic -Wall -Wextra -g -D_POSIX_C_SOURCE=200112L \
+ -DVERSION=\"$(VERSION)\"
+
+ W32TCLKIT = tclkit-8.5.9-win32.upx.exe