Working termpix PKGBUILD
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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