Skip to content

Instantly share code, notes, and snippets.

/PKGBUILD Secret

Created Oct 9, 2016
Embed
What would you like to do?
# Maintainer: Jerome Leclanche <jerome@leclan.ch>
pkgname=lximage-qt
pkgver=0.5.0
pkgrel=1
pkgdesc="The LXQt image viewer"
arch=("i686" "x86_64")
groups=("lxqt")
url="http://lxqt.org"
license=("GPL2")
depends=("pcmanfm-qt")
makedepends=("cmake" "qt5-tools")
install="$pkgname.install"
source=("http://downloads.lxqt.org/$pkgname/$pkgver/$pkgname-$pkgver.tar.xz")
sha256sums=('bd67b8b81a25d8ecd858787af87bc97256f15821ff4f1bb3efcfd214e2929066')
build() {
mkdir -p build
cd build
cmake "$srcdir/$pkgname-$pkgver" \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr
make
}
package() {
cd build
make DESTDIR="$pkgdir" install
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment