27 lines
981 B
Bash
27 lines
981 B
Bash
# 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"
|
|
}
|