added PKGBUILD n stuff
commit
967c92f8c9
|
@ -0,0 +1,13 @@
|
|||
pkgbase = krabby-git
|
||||
pkgdesc = Print pokemon sprites in your terminal (development version)
|
||||
pkgver = 0.1.6.r0.g2669909
|
||||
pkgrel = 1
|
||||
url = https://github.com/yannjor/krabby
|
||||
arch = x86_64
|
||||
license = GPL-3.0
|
||||
makedepends = rust
|
||||
conflicts = krabby
|
||||
source = krabby-git::git+https://github.com/yannjor/krabby#branch=main
|
||||
md5sums = SKIP
|
||||
|
||||
pkgname = krabby-git
|
|
@ -0,0 +1,5 @@
|
|||
*
|
||||
|
||||
!.gitignore
|
||||
!PKGBUILD
|
||||
!.SRCINFO
|
|
@ -0,0 +1,32 @@
|
|||
# Maintainer: Jef Roosens
|
||||
|
||||
pkgbase='krabby-git'
|
||||
pkgname='krabby-git'
|
||||
pkgver=0.1.6.r0.g2669909
|
||||
pkgrel=1
|
||||
pkgdesc='Print pokemon sprites in your terminal (development version)'
|
||||
arch=('x86_64')
|
||||
|
||||
url='https://github.com/yannjor/krabby'
|
||||
license=('GPL-3.0')
|
||||
|
||||
makedepends=('rust')
|
||||
conflicts=('krabby')
|
||||
|
||||
source=("${pkgname}::git+https://github.com/yannjor/krabby#branch=main")
|
||||
md5sums=('SKIP')
|
||||
|
||||
pkgver() {
|
||||
git -C "${pkgname}" describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
|
||||
}
|
||||
|
||||
build() {
|
||||
cd "${pkgname}"
|
||||
|
||||
cargo build --release
|
||||
}
|
||||
|
||||
package() {
|
||||
install -Dm755 "${pkgname}/target/release/krabby" -t "${pkgdir}/usr/bin"
|
||||
install -Dm644 "${pkgname}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
|
||||
}
|
Loading…
Reference in New Issue