T.J. Townsend pushed to branch main at Arch Linux / Packaging / Packages / xterm
Commits:
9c09e8fd by T.J. Townsend at 2024-12-04T10:25:46-05:00
upgpkg: 396-2: build from git tag
- - - - -
2 changed files:
- .SRCINFO
- PKGBUILD
Changes:
=====================================
.SRCINFO
=====================================
@@ -1,10 +1,11 @@
pkgbase = xterm
pkgdesc = X Terminal Emulator
pkgver = 396
- pkgrel = 1
+ pkgrel = 2
url = https://invisible-island.net/xterm/
arch = x86_64
license = custom
+ makedepends = git
depends = libxft
depends = libxaw
depends = ncurses
@@ -13,10 +14,8 @@ pkgbase = xterm
depends = libutempter
depends = libxkbfile
optdepends = xorg-mkfontscale: font scaling
- source = https://invisible-mirror.net/archives/xterm/xterm-396.tgz
- source = https://invisible-mirror.net/archives/xterm/xterm-396.tgz.asc
+ source =
xterm::git+https://github.com/ThomasDickey/xterm-snapshots.git?signed#tag=xterm-396
validpgpkeys = 19882D92DDA4C400C22C0D56CC2AF4472167BE03
- sha256sums =
43f94b6d0eecb4219a99f46352e746f2ab5558e40d922d411acff96cc778a6a5
- sha256sums = SKIP
+ sha256sums =
aaf7862073fb67151cdeaca5cc2f0bda64bcfe422b9e96ec88609641f96e3c5f
pkgname = xterm
=====================================
PKGBUILD
=====================================
@@ -4,21 +4,21 @@
pkgname=xterm
pkgver=396
-pkgrel=1
+pkgrel=2
pkgdesc="X Terminal Emulator"
arch=('x86_64')
url="https://invisible-island.net/xterm/"
license=('custom')
depends=('libxft' 'libxaw' 'ncurses' 'luit' 'xbitmaps' 'libutempter'
'libxkbfile')
+makedepends=('git')
optdepends=('xorg-mkfontscale: font scaling')
-source=(https://invisible-mirror.net/archives/${pkgname}/${pkgname}-${pkgver}.tgz{,.asc})
-sha256sums=('43f94b6d0eecb4219a99f46352e746f2ab5558e40d922d411acff96cc778a6a5'
- 'SKIP')
+source=(${pkgname}::git+https://github.com/ThomasDickey/xterm-snapshots.git?signed#tag=xterm-${pkgver})
+sha256sums=('aaf7862073fb67151cdeaca5cc2f0bda64bcfe422b9e96ec88609641f96e3c5f')
#validpgpkeys=('C52048C0C0748FEE227D47A2702353E0F7E48EDB') # "Thomas Dickey
<[email protected]>"
validpgpkeys=('19882D92DDA4C400C22C0D56CC2AF4472167BE03') # "Thomas E. Dickey
(self-signed w/o SHA1) <[email protected]>"
build() {
- cd ${pkgname}-${pkgver}
+ cd ${pkgname}
./configure --prefix=/usr \
--libdir=/etc \
--mandir=/usr/share/man \
@@ -52,17 +52,17 @@ build() {
}
check() {
- cd "$pkgname-$pkgver"
+ cd ${pkgname}
make -k check
}
package() {
- cd ${pkgname}-${pkgver}
+ cd ${pkgname}
make DESTDIR="${pkgdir}" install
chmod 0755 "${pkgdir}/usr/bin/xterm"
install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"
install -m755 -d "${pkgdir}"/usr/share/applications
- install -m644 "${srcdir}"/${pkgname}-${pkgver}/{xterm,uxterm}.desktop
"${pkgdir}"/usr/share/applications/
+ install -m644 "${srcdir}"/${pkgname}/{xterm,uxterm}.desktop
"${pkgdir}"/usr/share/applications/
}
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/xterm/-/commit/9c09e8fd4826d5c1fdf78f2979f7621247792310
--
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/xterm/-/commit/9c09e8fd4826d5c1fdf78f2979f7621247792310
You're receiving this email because of your account on gitlab.archlinux.org.