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


Commits:
dc53aa8c by T.J. Townsend at 2024-11-21T17:33:53-05:00
upgpkg: 0.13-6: build from git tag, add license

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,12 +1,13 @@
 pkgbase = xclip
        pkgdesc = Command line interface to the X11 clipboard
        pkgver = 0.13
-       pkgrel = 5
+       pkgrel = 6
        url = https://github.com/astrand/xclip
        arch = x86_64
-       license = GPL
+       license = GPL-2.0-only
+       makedepends = git
        depends = libxmu
-       source = 
xclip-0.13.tar.gz::https://github.com/astrand/xclip/archive/refs/tags/0.13.tar.gz
-       sha256sums = 
ca5b8804e3c910a66423a882d79bf3c9450b875ac8528791fb60ec9de667f758
+       source = git+https://github.com/astrand/xclip.git#tag=0.13
+       sha256sums = 
86b87e6dbbb5e8f7582c2d964abc87d25a4541fd74945aef6b0a902eab485891
 
 pkgname = xclip


=====================================
PKGBUILD
=====================================
@@ -6,23 +6,28 @@
 
 pkgname=xclip
 pkgver=0.13
-pkgrel=5
+pkgrel=6
 pkgdesc='Command line interface to the X11 clipboard'
 url='https://github.com/astrand/xclip'
 arch=('x86_64')
-license=('GPL')
+license=('GPL-2.0-only')
 depends=('libxmu')
-source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/refs/tags/${pkgver}.tar.gz")
-sha256sums=('ca5b8804e3c910a66423a882d79bf3c9450b875ac8528791fb60ec9de667f758')
+makedepends=('git')
+source=(git+https://github.com/astrand/xclip.git#tag=${pkgver})
+sha256sums=('86b87e6dbbb5e8f7582c2d964abc87d25a4541fd74945aef6b0a902eab485891')
+
+prepare() {
+  cd ${pkgname}
+  autoreconf -fiv
+}
 
 build() {
-       cd "${pkgname}-${pkgver}"
-       ./bootstrap
-       ./configure --prefix=/usr
-       make
+  cd ${pkgname}
+  ./configure --prefix=/usr
+  make
 }
 
 package() {
-       cd "${pkgname}-${pkgver}"
-       make DESTDIR="${pkgdir}" install
+  cd ${pkgname}
+  make DESTDIR="${pkgdir}" install
 }



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/xclip/-/commit/dc53aa8c6f7357a3c053e4a0a6dd9120a38ffb9c

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


Reply via email to