Skip to content

Instantly share code, notes, and snippets.

@badwulfy
Created June 4, 2017 12:52
Show Gist options
  • Save badwulfy/242095f41c9d0f1c2b27434e95d8b93e to your computer and use it in GitHub Desktop.
Save badwulfy/242095f41c9d0f1c2b27434e95d8b93e to your computer and use it in GitHub Desktop.
Geis makepkg fix
# Maintainer: Nicolas Quiénot <niQo @ AUR >
# Contributor: Xiao-Long Chen <[email protected]>
pkgname=geis
pkgver=2.2.17
pkgrel=1
pkgdesc="Implementation of the GEIS (Gesture Engine Interface and Support) interface."
arch=('i686' 'x86_64')
url="https://launchpad.net/geis"
license=('GPL' 'LGPL')
depends=('grail' 'dbus' 'python-gobject')
makedepends=('xorg-server-devel')
provides=('utouch-geis')
conflicts=('utouch-geis')
replaces=('utouch-geis')
options=('!emptydirs' '!libtool')
source=("http://launchpad.net/${pkgname}/trunk/${pkgver}/+download/${pkgname}-${pkgver}.tar.xz")
md5sums=('2ff9d76a3ea5794516bb02c9d1924faf')
prepare() {
cd "$pkgname-$pkgver"
}
build() {
cd "$pkgname-$pkgver"
## add -Wno-format in CFLAGS see FS#34658
CFLAGS="$CFLAGS -Wno-format -Wno-misleading-indentation -Wno-error" ./configure --prefix=/usr --disable-static
make
}
package() {
cd "$pkgname-$pkgver"
make DESTDIR="${pkgdir}/" install
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment