Skip to content

Instantly share code, notes, and snippets.

@ant32
Created July 27, 2014 00:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ant32/41fdc52daae3581acc98 to your computer and use it in GitHub Desktop.
Save ant32/41fdc52daae3581acc98 to your computer and use it in GitHub Desktop.
libqxt-git PKGBUILD
# Maintainer: Ismael Carnales <icarnales@gmail.com>
# Contributor: TDY <tdy@gmx.com>
# Contributor: Michael S. Walker <barrucadu@localhost>
pkgname=libqxt-git
pkgver=0.7.r2122.3e7424f
pkgrel=1
pkgdesc="provides a suite of cross-platform utility classes to add functionality not readily available in the Qt toolkit (git version)"
arch=('i686' , 'x86_64')
url="http://www.libqxt.org"
license=('CPL')
depends=('qt4' 'openssl' 'db' 'avahi')
makedepends=('git')
provides=('libqxt')
conflicts=('libqxt')
source=('git+https://bitbucket.org/libqxt/libqxt.git')
md5sums=('SKIP')
pkgver() {
cd "$srcdir/libqxt"
printf "0.7.r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
prepare() {
sed -e 's|-lXrandr|-lXrandr -lX11|g' -i "${srcdir}/libqxt/config.tests/xrandr/xrandr.pro"
}
build() {
cd "$srcdir/libqxt"
./configure -qmake-bin "/usr/bin/qmake-qt4"
make
}
package() {
cd "${srcdir}/libqxt"
make INSTALL_ROOT="${pkgdir}" install
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment