initial import
This commit is contained in:
26
tkpacman/PKGBUILD
Normal file
26
tkpacman/PKGBUILD
Normal file
@@ -0,0 +1,26 @@
|
||||
# Maintainer: Jesus E. <heckyel@riseup.net>
|
||||
|
||||
pkgname=tkpacman
|
||||
pkgver=1.9.1
|
||||
pkgrel=1
|
||||
pkgdesc="A lightweight GUI for pacman / hyperman built with Tcl/Tk"
|
||||
arch=('any')
|
||||
url='https://sourceforge.net/projects/tkpacman'
|
||||
license=('GPL-2')
|
||||
depends=('tcl' 'tk')
|
||||
optdepends=('xterm: alternative terminal emulator')
|
||||
source=("https://downloads.sourceforge.net/tkpacman/${pkgname}-${pkgver}/${pkgname}-${pkgver}.tar.gz"
|
||||
"correct-license-path.patch")
|
||||
sha512sums=('4f44d3b7f2a683c92938122875c0eece396ea04f5e18d9db14a601841a6dfe6de6420bdb7cae0d0da8705e9965cb2c3f18c7da4fbf285d51ddf9a70b8789370c'
|
||||
'fb2e5e66318a2efc0d252e5f5f3c0990d5648136d160ea0e4cfe04b6f20743cfb62f25e4890a7a47dbf498acd97dc2d3388423b6e9e425c0e753dfc0e21558be')
|
||||
|
||||
prepare() {
|
||||
cd "$pkgname-$pkgver"
|
||||
patch -Np1 -i $srcdir/correct-license-path.patch
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$pkgname-$pkgver"
|
||||
make DESTDIR="$pkgdir" PREFIX='/usr' install
|
||||
install -Dm644 license/gpl.txt -t "$pkgdir/usr/share/licenses/$pkgname"
|
||||
}
|
||||
11
tkpacman/correct-license-path.patch
Normal file
11
tkpacman/correct-license-path.patch
Normal file
@@ -0,0 +1,11 @@
|
||||
--- a/config.tcl 2020-01-13 14:33:32.000000000 +0100
|
||||
+++ b/config.tcl 2023-07-12 14:08:19.697801599 +0200
|
||||
@@ -11,7 +11,7 @@
|
||||
set installDir [file dirname [file normalize [info script]]]
|
||||
# puts "installDir = $installDir"
|
||||
# puts [file normalize [info script]]
|
||||
- set licenseDir {/usr/share/licenses/common/GPL2}
|
||||
+ set licenseDir {/usr/share/licenses/common/GPL-2}
|
||||
set languageDir [file join $installDir {msgs}]
|
||||
set docDir [file join $installDir doc]
|
||||
if {![file exists $docDir]} then {
|
||||
Reference in New Issue
Block a user