upg gptfdisk python-textual

This commit is contained in:
joborun linux 2024-02-21 11:09:39 +02:00
parent dfc45bde72
commit cecbf10747
6 changed files with 23 additions and 41 deletions

View File

@ -6,28 +6,19 @@
#-----------------------------------------| DESCRIPTION |---------------------------------------
pkgname=gptfdisk
pkgver=1.0.9
pkgrel=02
pkgver=1.0.10
pkgrel=01
pkgdesc="A text-mode partitioning tool that works on GUID Partition Table (GPT) disks"
arch=('x86_64')
url="https://www.rodsbooks.com/gdisk/"
depends=('gcc-libs' 'popt' 'libuuid.so' 'libncursesw.so')
provides=("gdisk=$pkgver")
conflicts=('gdisk')
replaces=('gdisk')
#options=('debug') ###### uncomment for debug pkg
source=(https://downloads.sourceforge.net/project/$pkgname/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz
popt-1.19.patch
popt-1.19-follow-up.patch
util-linux-2.38.patch)
source=(https://downloads.sourceforge.net/project/$pkgname/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz)
prepare() {
cd "$srcdir/$pkgname-$pkgver"
patch -Np1 -i ../popt-1.19.patch
patch -Np1 -i ../util-linux-2.38.patch
# https://sourceforge.net/p/gptfdisk/code/merge-requests/28/
patch -Np1 -i ../popt-1.19-follow-up.patch
# https://sourceforge.net/p/gptfdisk/discussion/939590/thread/bc29ca06f8/
sed -i '/^#include /s:ncursesw/::' gptcurses.cc
@ -52,15 +43,13 @@ package () {
install -m644 -t "$pkgdir/usr/share/doc/gdisk" README NEWS
}
#---- license gpg-key sha256sums ----
#---- arch license gpg-key & sha256sums ----
arch=('x86_64')
license=('GPL2')
sha256sums=(dafead2693faeb8e8b97832b23407f6ed5b3219bc1784f482dd855774e2d50c2 # gptfdisk-1.0.9.tar.gz
ac8ee9b46a089855535c483a93fd51badecdd9028b32c7cc561c5863f52f79ca # popt-1.19.patch
644dc3e2c5812c12bdfd3bb174d220cd3af8903fb1baafe8181bf9dfa303b78c # popt-1.19-follow-up.patch
a79206e1e2c57ba74cdeed0f47eeb79919b99159d95c4b42b54e709a29b1af65) # util-linux-2.38.patch
sha256sums=(2abed61bc6d2b9ec498973c0440b8b804b7a72d7144069b5a9209b2ad693a282) # gptfdisk-1.0.10.tar.gz
# c014a1054c597fb9afb06e7cd4c91a038d887e66dd36aba26a68494ea0f41a43) # util-linux-2.38.patch
## d3219380d99dfb9bd4d50ffc95d0853a8637d07b60afaa9a8e53cc6cbfdb84b3 gptfdisk-1.0.10-01-x86_64.pkg.tar.lz

View File

@ -3,8 +3,8 @@
# Contributor: Hokum <hokum_at_mail_dot_ru>
pkgname=gptfdisk
pkgver=1.0.9
pkgrel=2
pkgver=1.0.10
pkgrel=1
pkgdesc="A text-mode partitioning tool that works on GUID Partition Table (GPT) disks"
arch=('x86_64')
url="https://www.rodsbooks.com/gdisk/"
@ -13,23 +13,11 @@ depends=('gcc-libs' 'popt' 'libuuid.so' 'libncursesw.so')
provides=("gdisk=$pkgver")
conflicts=('gdisk')
replaces=('gdisk')
options=('debug')
source=(https://downloads.sourceforge.net/project/$pkgname/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz
popt-1.19.patch
popt-1.19-follow-up.patch
util-linux-2.38.patch)
sha256sums=('dafead2693faeb8e8b97832b23407f6ed5b3219bc1784f482dd855774e2d50c2'
'ac8ee9b46a089855535c483a93fd51badecdd9028b32c7cc561c5863f52f79ca'
'644dc3e2c5812c12bdfd3bb174d220cd3af8903fb1baafe8181bf9dfa303b78c'
'a79206e1e2c57ba74cdeed0f47eeb79919b99159d95c4b42b54e709a29b1af65')
source=(https://downloads.sourceforge.net/project/$pkgname/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz)
sha256sums=('2abed61bc6d2b9ec498973c0440b8b804b7a72d7144069b5a9209b2ad693a282')
prepare() {
cd "$srcdir/$pkgname-$pkgver"
patch -Np1 -i ../popt-1.19.patch
patch -Np1 -i ../util-linux-2.38.patch
# https://sourceforge.net/p/gptfdisk/code/merge-requests/28/
patch -Np1 -i ../popt-1.19-follow-up.patch
# https://sourceforge.net/p/gptfdisk/discussion/939590/thread/bc29ca06f8/
sed -i '/^#include /s:ncursesw/::' gptcurses.cc

View File

@ -1,4 +1,3 @@
popt

6
gptfdisk/time Normal file
View File

@ -0,0 +1,6 @@
real 0m32.912s
user 0m15.562s
sys 0m1.233s

View File

@ -7,7 +7,7 @@
_base=textual
pkgname=python-${_base}
pkgver=0.51.0
pkgver=0.52.1
pkgrel=01
pkgdesc="Modern Text User Interface framework"
url="https://github.com/Textualize/${_base}"
@ -55,7 +55,7 @@ arch=(x86_64)
license=(MIT)
sha256sums=(b7cfd223d4de1957bf7ffeeab12ba330dd25d500c5ab1b4be4945ad6140de7cd) # textual-0.51.0.tar.gz
sha256sums=(fe584424102f722c3bc0da0dece61a8b82434a6f8e74c7eb0685507ff8a1488b) # textual-0.52.1.tar.gz
## e201fccf919f9f0881c577e3948c5ed71bcbc26af6aafec88fc3a97af1bfe1d4 python-textual-0.51.0-01-x86_64.pkg.tar.lz
## e2e004425711b6888ce0c43d8389a3fd295f24714162adebdfe640ea6de72172 python-textual-0.52.1-01-x86_64.pkg.tar.lz

View File

@ -4,7 +4,7 @@
_base=textual
pkgname=python-${_base}
pkgver=0.51.0
pkgver=0.52.1
pkgrel=1
pkgdesc="Modern Text User Interface framework"
arch=(any)
@ -17,7 +17,7 @@ optdepends=('python-tree-sitter: for syntax highlighting support'
'python-tree-sitter-languages: for custom languages support'
'python-textual-dev: tools for developers')
source=(${_base}-${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz)
sha512sums=('0b87599a71f01fd825c46ca3c5feb19f6e8e0abe0e8c87e51a847261fcd121e9a821d5a4c903d9d010c5b14d760afa1c437fcac8affc57a8b8378258a19d4f39')
sha512sums=('7eb8d54e7e18fab3d4013004d68c629b0f6a72258dc8e2c879c4ed54d32ca0e94594a992e25687d39356f61bd6a64372f67064d8888706bfa48df2e8ccce833d')
build() {
cd ${_base}-${pkgver}