diff options
author | Kushagra | 2024-03-28 20:13:07 +0530 |
---|---|---|
committer | Kushagra | 2024-03-28 20:13:07 +0530 |
commit | f51f1b60a1a2b72c37364b148481c679ceacd7c3 (patch) | |
tree | 9e501ff84d75ebed5126969840b534daa8cb2d23 /PKGBUILD | |
download | aur-tda.tar.gz |
initial commit
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..3c20d97350d7 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,24 @@ +# Maintainer: Kushagra Sharma <tda@thedarkartist.in> +pkgname=tda +pkgver=1.0.0 +pkgrel=1 +pkgdesc="A simple rust program to put 'TheDarkArtist' to the console" +arch=('x86_64') +url="https://github.com/TheDarkArtist/tda" +license=('MIT') +depends=( + 'git' +) +makedepends=('git') +source=("${pkgname}-${pkgver}.tar.gz::https://github.com/TheDarkArtist/tda/archive/v${pkgver}.tar.gz") +sha256sums=('SKIP') + +build() { + cd "$pkgname-$pkgver" + cargo build --release --locked +} + +package() { + cd "$pkgname-$pkgver" + install -Dm755 "target/release/$pkgname" -t "$pkgdir/usr/bin/" +} |