Date: Monday, July 4, 2022 @ 07:58:59 Author: alerque Revision: 1243876
upgpkg: flameshot 12.1.0-1 Modified: flameshot/trunk/PKGBUILD ----------+ PKGBUILD | 19 ++++++++----------- 1 file changed, 8 insertions(+), 11 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2022-07-04 06:43:14 UTC (rev 1243875) +++ PKGBUILD 2022-07-04 07:58:59 UTC (rev 1243876) @@ -1,9 +1,10 @@ # Maintainer: Jiachen YANG <[email protected]> +# Maintainer: Caleb Maclennan <[email protected]> # Contributor: xyzzy <[email protected]> pkgname=flameshot -pkgver=11.0.0 -pkgrel=5 +pkgver=12.1.0 +pkgrel=1 pkgdesc="Powerful yet simple to use screenshot software" arch=('x86_64') url="https://github.com/flameshot-org/flameshot" @@ -15,20 +16,16 @@ 'grim: for wlroots wayland support' 'xdg-desktop-portal: for wayland support, you will need the implementation for your wayland desktop environment' ) -source=("${pkgname}-v${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz" -"flameshot-wayland-clipboard.patch") -sha256sums=('4cd158719031e97c97ecb6db1c14dd8ded44bf531c062bce496fc63be18bc2cf' - '0ce23f5fe38a11a57c102865ff62d11547fc5b8c0f9551ef6effd3d905f99235') +source=("${pkgname}-v${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz") +sha256sums=('c82c05d554e7a6d810aca8417ca12b21e4f74864455ab4ac94602668f85ac22a') prepare() { cd "${srcdir}/${pkgname}-${pkgver}" - patch -Np1 -i $srcdir/flameshot-wayland-clipboard.patch + mkdir -p build } build() { - cd "${srcdir}/${pkgname}-${pkgver}" - mkdir build - cd build + cd "${srcdir}/${pkgname}-${pkgver}/build" cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DUSE_WAYLAND_CLIPBOARD=1 make } @@ -36,7 +33,7 @@ package() { cd "${srcdir}/${pkgname}-${pkgver}/build" make DESTDIR="${pkgdir}" install - + # zsh _flameshot completion is provided by zsh-completions so exclude from packaging rm -rf ${pkgdir}/usr/share/zsh/ }
