From 332931541da8f1859011613147dc636f13a073dc Mon Sep 17 00:00:00 2001 From: Jonathan Liu Date: Tue, 11 Dec 2018 11:30:43 +1100 Subject: [PATCH] Initial import --- .SRCINFO | 16 ++++++++++++++++ PKGBUILD | 37 +++++++++++++++++++++++++++++++++++++ configure.patch | 11 +++++++++++ 3 files changed, 64 insertions(+) create mode 100644 .SRCINFO create mode 100644 PKGBUILD create mode 100644 configure.patch diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 0000000..0ffe7c8 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,16 @@ +pkgbase = wxedid + pkgdesc = wxWidgets-based EDID (Extended Display Identification Data) editor + pkgver = 0.0.16 + pkgrel = 1 + url = https://sourceforge.net/projects/wxedid/ + arch = i686 + arch = x86_64 + license = GPL3 + depends = wxgtk2 + source = https://downloads.sourceforge.net/wxedid/wxedid-0.0.16.tar.gz + source = configure.patch + md5sums = 0b1a6c49274e0fc3f2398648d99d6954 + md5sums = 519658fdadcbe8c0b66c6d47c1c8715f + +pkgname = wxedid + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 0000000..deb7306 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,37 @@ +# Maintainer: Jonathan Liu +pkgname=wxedid +pkgver=0.0.16 +pkgrel=1 +pkgdesc="wxWidgets-based EDID (Extended Display Identification Data) editor" +arch=('i686' 'x86_64') +url="https://sourceforge.net/projects/wxedid/" +license=('GPL3') +depends=('wxgtk2') +source=("https://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz" + 'configure.patch') +md5sums=('0b1a6c49274e0fc3f2398648d99d6954' + '519658fdadcbe8c0b66c6d47c1c8715f') + +prepare() { + cd "$pkgname-$pkgver" + patch -Np1 -i "$srcdir/configure.patch" +} + +build() { + cd "$pkgname-$pkgver" + autoreconf -f -i + ./configure --prefix=/usr + make +} + +check() { + cd "$pkgname-$pkgver" + make -k check +} + +package() { + cd "$pkgname-$pkgver" + make DESTDIR="$pkgdir/" install +} + +# vim:set ts=2 sw=2 et: diff --git a/configure.patch b/configure.patch new file mode 100644 index 0000000..4a7e443 --- /dev/null +++ b/configure.patch @@ -0,0 +1,11 @@ +--- a/configure.ac 2018-12-01 23:43:13.000000000 +1100 ++++ b/configure.ac 2018-12-11 10:50:59.989268036 +1100 +@@ -24,8 +24,6 @@ + AS_VAR_SET([ac_lang_cflags], [$CFLAGS]) + + dnl AC_ARG_SWITCH_DEBUG([DEFINE-DBG-VAR], [DBG-CFLAGS], [DBG-LDFLAGS], [RELEASE-CFLAGS], [RELEASE-LDLAGS]) +-AC_BUILD_SWITCH([-g -Wall -Wextra -fno-exceptions], [], +- [-s -O2 -finline-functions-called-once -fno-exceptions -Wall -Wfatal-errors], []) + + AC_SUBST([ac_lang_cflags]) +