Created
May 25, 2022 07:11
-
-
Save TGurl/15d47245bab491c6279c34c7eb42c09e to your computer and use it in GitHub Desktop.
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