diff options
author | sxe | 2015-06-23 10:52:41 +0200 |
---|---|---|
committer | sxe | 2015-06-23 10:52:41 +0200 |
commit | a19b03866cbfd88e7f942b63ab67f01fe14a5e5a (patch) | |
tree | 42d74319d2c233ea01b99febed4c9baf74d80eec | |
download | aur-a19b03866cbfd88e7f942b63ab67f01fe14a5e5a.tar.gz |
Initial import
-rw-r--r-- | .SRCINFO | 16 | ||||
-rw-r--r-- | PKGBUILD | 29 |
2 files changed, 45 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..8913d2a3a7e9 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,16 @@ +pkgbase = qlipper + pkgdesc = Lightweight & cross-platform clipboard history applet based on qt + pkgver = 2.0.2 + pkgrel = 3 + url = https://github.com/pvanek/qlipper/ + arch = i686 + arch = x86_64 + license = GPL + makedepends = cmake + depends = qt4 + depends = libqxt + source = https://github.com/pvanek/qlipper/archive/2.0.2.tar.gz + md5sums = 29c8c7b4a4b08ce127b224d21b7a00d4 + +pkgname = qlipper + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..4e96e4742d7c --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,29 @@ +# Contributor: sxe <sxxe@gmx.de> +pkgname=qlipper +pkgver=2.0.2 +pkgrel=3 +pkgdesc="Lightweight & cross-platform clipboard history applet based on qt" +arch=('i686' 'x86_64') +url="https://github.com/pvanek/qlipper/" +license=("GPL") +depends=('qt4' 'libqxt') +makedepends=('cmake') +source=("https://github.com/pvanek/qlipper/archive/$pkgver.tar.gz") + +md5sums=('29c8c7b4a4b08ce127b224d21b7a00d4') + +build() { + cd "$srcdir/$pkgname-$pkgver" + #qmake + msg "Starting build process." + cmake -DCMAKE_INSTALL_PREFIX=/usr -DUSE_SYSTEM_QTSA=0 -DCMAKE_BUILD_TYPE=Release -DQT_QMAKE_EXECUTABLE=qmake-qt4 + make +} + +package() { + msg2 "Starting packaging." + cd "$srcdir/$pkgname-$pkgver" + make DESTDIR="$pkgdir" install + install -D -m755 qlipper $pkgdir/usr/bin/qlipper + install -Dm644 $srcdir/qlipper-$pkgver/qlipper.desktop $pkgdir/usr/share/applications/qlipper.desktop +} |