T.J. Townsend pushed to branch main at Arch Linux / Packaging / Packages / scrot


Commits:
7232de99 by T.J. Townsend at 2024-04-04T12:50:09-04:00
upgpkg: 1.10-2: build from git tag

- - - - -


2 changed files:

- + .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -0,0 +1,20 @@
+pkgbase = scrot
+       pkgdesc = Simple command-line screenshot utility for X
+       pkgver = 1.10
+       pkgrel = 2
+       url = https://github.com/resurrecting-open-source-projects/scrot
+       arch = x86_64
+       license = MIT
+       makedepends = autoconf-archive
+       makedepends = git
+       depends = imlib2
+       depends = libxext
+       depends = libxinerama
+       depends = libxfixes
+       depends = libxcomposite
+       depends = libbsd
+       source = 
git+https://github.com/resurrecting-open-source-projects/scrot.git#tag=1.10
+       sha512sums = 
a12d2e8fd240acc58c16690c8879a0302a4d234fd5eb3c2f8fa854b0aaf37e71376770a29ddd90041ec9e7305e1c89409b83057e4d6e527ae13472d00fa3f269
+       b2sums = 
7545e9b82bb7d7857b53c9f8696be71ebf56d1469d2c4855a18f52a3c001fa1320586b99d6f926011abe06f5bb0f4d4376b66e6f92fc05bc5f9be22ba1f0af27
+
+pkgname = scrot


=====================================
PKGBUILD
=====================================
@@ -6,24 +6,24 @@
 
 pkgname=scrot
 pkgver=1.10
-pkgrel=1
+pkgrel=2
 pkgdesc='Simple command-line screenshot utility for X'
 url='https://github.com/resurrecting-open-source-projects/scrot'
 arch=('x86_64')
 license=('MIT')
 depends=('imlib2' 'libxext' 'libxinerama' 'libxfixes' 'libxcomposite' 'libbsd')
-makedepends=('autoconf-archive')
-source=("${url}/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz")
-sha512sums=('583af4369c8ce0be3d7aff60c65f36c800e562dc9117aec90b3d7094f5aba0b75ef27e00c2990d9a6f88e02a6dee54835856848c173995299ccca6d92bfe4894')
-b2sums=('b372d1c9ce5ea930f68a11b0d1001110f33667653725fbad17b74a71e823394e909dd5873e36ab58504ebe4fab48422bb291415541e5a2bf59605ac216d77162')
+makedepends=('autoconf-archive' 'git')
+source=("git+https://github.com/resurrecting-open-source-projects/scrot.git#tag=${pkgver}";)
+sha512sums=('a12d2e8fd240acc58c16690c8879a0302a4d234fd5eb3c2f8fa854b0aaf37e71376770a29ddd90041ec9e7305e1c89409b83057e4d6e527ae13472d00fa3f269')
+b2sums=('7545e9b82bb7d7857b53c9f8696be71ebf56d1469d2c4855a18f52a3c001fa1320586b99d6f926011abe06f5bb0f4d4376b66e6f92fc05bc5f9be22ba1f0af27')
 
 prepare(){
-  cd ${pkgname}-${pkgver}
+  cd ${pkgname}
   autoreconf -fiv
 }
 
 build() {
-  cd ${pkgname}-${pkgver}
+  cd ${pkgname}
   ./configure \
     --prefix=/usr \
     --mandir=/usr/share/man
@@ -31,7 +31,7 @@ build() {
 }
 
 package() {
-  cd ${pkgname}-${pkgver}
+  cd ${pkgname}
   make DESTDIR="${pkgdir}" install
   install -Dm644 README.md ChangeLog -t "${pkgdir}"/usr/share/doc/${pkgname}
   install -Dm644 COPYING -t "${pkgdir}"/usr/share/licenses/${pkgname}



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/scrot/-/commit/7232de99004f4a92704fc94ec93b3b01fd712c84

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/scrot/-/commit/7232de99004f4a92704fc94ec93b3b01fd712c84
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to