diff options
-rw-r--r-- | .SRCINFO | 9 | ||||
-rw-r--r-- | PKGBUILD | 29 |
2 files changed, 20 insertions, 18 deletions
@@ -1,7 +1,7 @@ pkgbase = screengrab-git pkgdesc = Crossplatform tool for grabbing screenshots of your desktop. - pkgver = 1.97.1.g0a779c4 - pkgrel = 1 + pkgver = 1.99.11.g64176b5 + pkgrel = 3 url = https://github.com/lxqt/screengrab arch = i686 arch = x86_64 @@ -12,10 +12,11 @@ pkgbase = screengrab-git depends = qt5-base depends = qt5-x11extras depends = kwindowsystem - depends = libqtxdg + depends = libqtxdg-git depends = libx11 depends = libxcb - provides = screengrab + depends = hicolor-icon-theme + provides = screengrab=1.99.11.g64176b5 conflicts = screengrab source = git+https://github.com/lxqt/screengrab sha256sums = SKIP @@ -1,36 +1,37 @@ # Maintainer: Jerome Leclanche <jerome@leclan.ch> +# Co-Maintainer: Chih-Hsuan Yen <yan12125@gmail.com> _pkgname=screengrab pkgname=$_pkgname-git -pkgver=1.97.1.g0a779c4 -pkgrel=1 +pkgver=1.99.11.g64176b5 +pkgrel=3 pkgdesc="Crossplatform tool for grabbing screenshots of your desktop." arch=("i686" "x86_64") url="https://github.com/lxqt/screengrab" license=("GPL2") -depends=("qt5-base" "qt5-x11extras" "kwindowsystem" "libqtxdg" "libx11" "libxcb") +depends=("qt5-base" "qt5-x11extras" "kwindowsystem" "libqtxdg-git" "libx11" "libxcb" "hicolor-icon-theme") makedepends=("git" "cmake" "qt5-tools") -provides=("$_pkgname") +provides=("$_pkgname=$pkgver") conflicts=("$_pkgname") source=("git+https://github.com/lxqt/$_pkgname") sha256sums=('SKIP') pkgver() { - cd "$srcdir/$_pkgname" - git describe --always | sed "s/-/./g" + cd "$srcdir/$_pkgname" + git describe --always | sed "s/-/./g" } build() { - mkdir -p build - cd build - cmake "$srcdir/$_pkgname" \ - -DCMAKE_INSTALL_PREFIX=/usr \ - -DCMAKE_INSTALL_LIBDIR=lib - make + mkdir -p build + cd build + cmake "$srcdir/$_pkgname" \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib + make } package() { - cd build - make install DESTDIR="$pkgdir" + cd build + make install DESTDIR="$pkgdir" } |