[arch-commits] Commit in scrot/trunk (PKGBUILD)
Levente Polyak
anthraxx at archlinux.org
Wed Aug 7 20:13:47 UTC 2019
Date: Wednesday, August 7, 2019 @ 20:13:45
Author: anthraxx
Revision: 498242
upgpkg: scrot 1.1.1-1
Modified:
scrot/trunk/PKGBUILD
----------+
PKGBUILD | 33 ++++++++++++++-------------------
1 file changed, 14 insertions(+), 19 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2019-08-07 20:13:35 UTC (rev 498241)
+++ PKGBUILD 2019-08-07 20:13:45 UTC (rev 498242)
@@ -3,31 +3,25 @@
# Contributor: Giovanni Scafora <giovanni at archlinux.org>
pkgname=scrot
-pkgver=0.9.1
+pkgver=1.1.1
pkgrel=1
pkgdesc='Simple command-line screenshot utility for X'
-url='https://tracker.debian.org/pkg/scrot'
+url='https://github.com/resurrecting-open-source-projects/scrot'
arch=('x86_64')
license=('MIT')
-depends=('giblib')
-source=(http://http.debian.net/debian/pool/main/s/${pkgname}/${pkgname}_${pkgver%.*}.orig.tar.gz
- http://http.debian.net/debian/pool/main/s/${pkgname}/${pkgname}_${pkgver%.*}-${pkgver##*.}.debian.tar.xz)
-sha256sums=('d9b6141c652f4c4c1a9d412d6d57d2045b515e70cd726e4787f5f066c837269e'
- 'e3313362fae895d393f7b7d26e087c45f61ccaee4e31251af616604e77258547')
-sha512sums=('e449b951fcbe2124fe874e5516d397a2d7ebb99ec8fceeb30c55cbee2596dec39ef5dff9db9acf1ff2930bc3752d4c1c1fbe0a28bc284481676370f330046f7b'
- 'fbd33ae9b6c500b000baf01564d912ea05185651d9eac8e052c945aa7c03b11b550fbaafa0a655d499028e653b6517220f16a514613853e37cda8009b4b79db4')
+depends=('giblib' 'libxfixes' 'libxcursor')
+makedepends=('autoconf-archive')
+source=(https://github.com/resurrecting-open-source-projects/scrot/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz)
+sha256sums=('63bc645d5dfff51e441541dc999379b34722c6428a4cd642e20005e6901383ba')
+sha512sums=('6444fec6d793053b120a6f81bb1696b2c3d1a48f2b7d3949f63ab7e97cbd60d87962b87e52bf43acfae12c3381d59f7924c0f7c71d5372876d14a698f9b9f138')
prepare(){
- for patch in $(<"${srcdir}/debian/patches/series"); do
- msg2 "Applying ${patch}..."
- patch -Np1 -d "${srcdir}/${pkgname}-${pkgver%.*}" -i "${srcdir}/debian/patches/${patch}"
- done
- cd ${pkgname}-${pkgver%.*}
- autoreconf -fiv
+ cd ${pkgname}-${pkgver}
+ autoreconf -fiv
}
build() {
- cd ${pkgname}-${pkgver%.*}
+ cd ${pkgname}-${pkgver}
./configure \
--prefix=/usr \
--mandir=/usr/share/man
@@ -35,9 +29,10 @@
}
package() {
- cd ${pkgname}-${pkgver%.*}
- make DESTDIR=${pkgdir} docsdir=/usr/share/doc/scrot install
- install -Dm 644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+ cd ${pkgname}-${pkgver}
+ make DESTDIR=${pkgdir} install
+ install -Dm 644 README ChangeLog -t "${pkgdir}/usr/share/doc/${pkgname}"
+ install -Dm 644 COPYING -t "${pkgdir}/usr/share/licenses/${pkgname}"
}
# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list