Skip to content

Instantly share code, notes, and snippets.

@TGurl
Created May 25, 2022 07:11
Show Gist options
  • Save TGurl/15d47245bab491c6279c34c7eb42c09e to your computer and use it in GitHub Desktop.
Save TGurl/15d47245bab491c6279c34c7eb42c09e to your computer and use it in GitHub Desktop.
Working termpix PKGBUILD
# Maintainer: Jameson Pugh <imntreal@gmail.com>
pkgname=termpix
pkgver=0.0.1
pkgrel=1
pkgdesc="Draw images on an ANSI terminal"
arch=('i686' 'x86_64')
url="https://github.com/hopey-dishwasher/termpix"
license=('Apache')
depends=('rust')
makedepends=('cargo')
#source=("https://github.com/hopey-dishwasher/termpix/archive/v${pkgver}.tar.gz")
source=("git+https://github.com/hopey-dishwasher/termpix")
sha256sums=('SKIP')
build() {
#cd "${srcdir}/${pkgname}-${pkgver}"
cd termpix
cargo build --release
}
package() {
cd "${srcdir}/termpix"
install -Dm755 "target/release/${pkgname}" "${pkgdir}/usr/bin/${pkgname}"
}
# vim: set ts=2 sw=2 ft=sh noet:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment