This commit is contained in:
moson-mo 2022-03-28 12:43:34 +02:00
commit 0c8205bdbd
3 changed files with 54 additions and 0 deletions

19
.SRCINFO Normal file
View file

@ -0,0 +1,19 @@
pkgbase = pacseek-bin
pkgdesc = A terminal user interface for searching and installing Arch Linux packages (binary version)
pkgver = 0.1.3
pkgrel = 1
url = https://github.com/moson-mo/pacseek
arch = x86_64
license = GPL2
makedepends = go
depends = pacman
provides = pacseek
conflicts = pacseek
source = https://github.com/moson-mo/pacseek/releases/download/v0.1.3/pacseek-linux-x64-v0.1.3.tar.gz
source = https://raw.githubusercontent.com/moson-mo/pacseek/main/LICENSE
source = https://raw.githubusercontent.com/moson-mo/pacseek/main/assets/pacseek.desktop
sha256sums = 084119e5faedc193bd57a99fbe7f3d7347a93ff3c19562bab3df4207e7837ab9
sha256sums = 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643
sha256sums = 202144575b7e4830982a4cbe569d3eb50b51410d9dfa1c35203e87795a09bf22
pkgname = pacseek-bin

4
.gitignore vendored Normal file
View file

@ -0,0 +1,4 @@
*
!.gitignore
!PKGBUILD
!.SRCINFO

31
PKGBUILD Normal file
View file

@ -0,0 +1,31 @@
# Maintainer: Mario Oenning <mo-son at mailbox dot org>
_pkgname=pacseek
pkgname=pacseek-bin
pkgver=0.1.3
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')
makedepends=('go')
provides=('pacseek')
conflicts=('pacseek')
source=("$url/releases/download/v$pkgver/$_pkgname-linux-x64-v$pkgver.tar.gz"
"https://raw.githubusercontent.com/moson-mo/$_pkgname/main/LICENSE"
"https://raw.githubusercontent.com/moson-mo/$_pkgname/main/assets/$_pkgname.desktop")
sha256sums=('084119e5faedc193bd57a99fbe7f3d7347a93ff3c19562bab3df4207e7837ab9'
'8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643'
'202144575b7e4830982a4cbe569d3eb50b51410d9dfa1c35203e87795a09bf22')
package() {
# bin
install -Dm755 $_pkgname "$pkgdir"/usr/bin/$_pkgname
# license
install -Dm644 "LICENSE" "$pkgdir/usr/share/licenses/$_pkgname/LICENSE"
# .desktop
install -Dm644 "$_pkgname.desktop" "$pkgdir/usr/share/applications/org.moson.$_pkgname.desktop"
}