aur/PKGBUILD
moson-mo 3fd887b983
v1.4.8
Signed-off-by: moson-mo <mo-son@mailbox.org>
2022-08-02 12:02:53 +02:00

32 lines
1 KiB
Bash

# Maintainer: Mario Oenning <mo-son at mailbox dot org>
_pkgname=pacseek
pkgname=pacseek-bin
pkgver=1.4.8
pkgrel=1
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')
optdepends=('xdg-utils: open URL on click support'
'curl: show PKGBUILD support'
'less: show PKGBUILD support')
provides=('pacseek')
conflicts=('pacseek')
source=("$url/releases/download/v$pkgver/$_pkgname-linux-x64-v$pkgver.tar.gz")
sha256sums=('0bb54d7b16b0beef5fbb3bb0231dcd76eda1f8be7dcf1ea7dab9167d19d26217')
package() {
# bin
install -Dm755 $_pkgname "$pkgdir"/usr/bin/$_pkgname
# license
install -Dm644 "LICENSE" "$pkgdir/usr/share/licenses/$_pkgname/LICENSE"
# .desktop
install -Dm644 "assets/$_pkgname.desktop" "$pkgdir/usr/share/applications/org.moson.$_pkgname.desktop"
# icon
install -Dm644 "assets/$_pkgname.png" "$pkgdir/usr/share/icons/hicolor/256x256/apps/$_pkgname.png"
}