2022-03-28 12:43:34 +02:00
|
|
|
# Maintainer: Mario Oenning <mo-son at mailbox dot org>
|
|
|
|
|
|
|
|
_pkgname=pacseek
|
|
|
|
pkgname=pacseek-bin
|
2022-08-09 12:33:43 +02:00
|
|
|
pkgver=1.5.1
|
2022-07-30 10:28:42 +02:00
|
|
|
pkgrel=1
|
2022-03-28 12:43:34 +02:00
|
|
|
pkgdesc='A terminal user interface for searching and installing Arch Linux packages (binary version)'
|
|
|
|
arch=('x86_64')
|
|
|
|
url="https://github.com/moson-mo/$_pkgname"
|
|
|
|
license=('GPL2')
|
|
|
|
depends=('pacman')
|
2022-07-29 22:08:21 +02:00
|
|
|
optdepends=('xdg-utils: open URL on click support'
|
|
|
|
'curl: show PKGBUILD support'
|
|
|
|
'less: show PKGBUILD support')
|
2022-03-28 12:43:34 +02:00
|
|
|
provides=('pacseek')
|
|
|
|
conflicts=('pacseek')
|
2022-04-01 14:39:48 +02:00
|
|
|
source=("$url/releases/download/v$pkgver/$_pkgname-linux-x64-v$pkgver.tar.gz")
|
2022-08-09 12:33:43 +02:00
|
|
|
sha256sums=('eeeb3cf7787eeb5dd48e172793ec587b51901daa670c0119922a6bc5bb516513')
|
2022-03-28 12:43:34 +02:00
|
|
|
|
|
|
|
package() {
|
|
|
|
# bin
|
|
|
|
install -Dm755 $_pkgname "$pkgdir"/usr/bin/$_pkgname
|
|
|
|
|
|
|
|
# license
|
2022-03-31 23:00:31 +02:00
|
|
|
install -Dm644 "LICENSE" "$pkgdir/usr/share/licenses/$_pkgname/LICENSE"
|
2022-03-28 12:43:34 +02:00
|
|
|
|
|
|
|
# .desktop
|
2022-03-31 23:00:31 +02:00
|
|
|
install -Dm644 "assets/$_pkgname.desktop" "$pkgdir/usr/share/applications/org.moson.$_pkgname.desktop"
|
2022-03-29 12:23:45 +02:00
|
|
|
|
|
|
|
# icon
|
2022-03-31 23:00:31 +02:00
|
|
|
install -Dm644 "assets/$_pkgname.png" "$pkgdir/usr/share/icons/hicolor/256x256/apps/$_pkgname.png"
|
2022-03-28 12:43:34 +02:00
|
|
|
}
|