Initial tweaks: use official source

ledoian
LEdoian 7 months ago
parent 3aa7424cd6
commit cc4a941704

@ -4,9 +4,9 @@
# Contributor: judd <jvinet@zeroflux.org> # Contributor: judd <jvinet@zeroflux.org>
pkgname=ncurses pkgname=ncurses
pkgver=6.4_20230520 pkgver=6.5
_commit=c74a1c4202f4524076da8be8554dacec391c84b2 # refs/tags/v6_4_20230520 #_commit=c74a1c4202f4524076da8be8554dacec391c84b2 # refs/tags/v6_4_20230520
pkgrel=3 pkgrel=1
pkgdesc='System V Release 4.0 curses emulation library' pkgdesc='System V Release 4.0 curses emulation library'
arch=(x86_64) arch=(x86_64)
url='https://invisible-island.net/ncurses/ncurses.html' url='https://invisible-island.net/ncurses/ncurses.html'
@ -29,7 +29,8 @@ provides=(
) )
replaces=(alacritty-terminfo) replaces=(alacritty-terminfo)
source=( source=(
$pkgname::git+https://github.com/ThomasDickey/ncurses-snapshots.git?signed#commit=$_commit https://invisible-island.net/archives/${pkgname}/${pkgname}-${pkgver}.tar.gz
https://invisible-island.net/archives/${pkgname}/${pkgname}-${pkgver}.tar.gz.asc
$pkgname-6.3-libs.patch $pkgname-6.3-libs.patch
$pkgname-6.3-pkgconfig.patch $pkgname-6.3-pkgconfig.patch
) )
@ -41,11 +42,6 @@ b2sums=('7df6d10b7807cebd5706e730b783ae2405aaba1958488edf3c9c17c6bbeac1c9d259ec2
'fb6cf606cf3db7f6b306272696a63bce83d52cfa91e850f9a7bdb9d3d8455a26943529a9cf79731dddc7f763c27211a9afab9c4c31dbb6d12fd720eb390eb0a3') 'fb6cf606cf3db7f6b306272696a63bce83d52cfa91e850f9a7bdb9d3d8455a26943529a9cf79731dddc7f763c27211a9afab9c4c31dbb6d12fd720eb390eb0a3')
validpgpkeys=('19882D92DDA4C400C22C0D56CC2AF4472167BE03') # Thomas Dickey <dickey@invisible-island.net> validpgpkeys=('19882D92DDA4C400C22C0D56CC2AF4472167BE03') # Thomas Dickey <dickey@invisible-island.net>
pkgver() {
cd $pkgname
git describe --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g;s/v//g;s/_/./'
}
prepare() { prepare() {
# do not link against test libraries # do not link against test libraries
patch -Np1 -d $pkgname -i ../$pkgname-6.3-libs.patch patch -Np1 -d $pkgname -i ../$pkgname-6.3-libs.patch

Loading…
Cancel
Save