diff options
| author | Yuval Adam <_@yuv.al> | 2019-11-21 18:25:12 +0200 |
|---|---|---|
| committer | Yuval Adam <_@yuv.al> | 2019-11-21 18:28:29 +0200 |
| commit | 8e9535063ec0e6c92f52ac7c95c54494cc91c827 (patch) | |
| tree | 193a06dbcbeb0b2247457b72488407053efd3b7f | |
| parent | ccf05e881b29efffc52338a879ed319d78f13464 (diff) | |
| -rw-r--r-- | aur/streamlib/.SRCINFO | 13 | ||||
| -rw-r--r-- | aur/streamlib/PKGBUILD | 24 |
2 files changed, 37 insertions, 0 deletions
diff --git a/aur/streamlib/.SRCINFO b/aur/streamlib/.SRCINFO new file mode 100644 index 0000000..6d7cec0 --- /dev/null +++ b/aur/streamlib/.SRCINFO @@ -0,0 +1,13 @@ +pkgbase = streamlib + pkgdesc = Play your favorite live streams from command line + pkgver = 0.6.1 + pkgrel = 1 + url = https://github.com/streamlib/streamlib + arch = any + license = GPL + makedepends = cargo + source = https://github.com/streamlib/streamlib/archive/v0.6.1.tar.gz + sha1sums = 1373356032f9f1f7c4454daab7a815747e1dbe78 + +pkgname = streamlib + diff --git a/aur/streamlib/PKGBUILD b/aur/streamlib/PKGBUILD new file mode 100644 index 0000000..5a08c64 --- /dev/null +++ b/aur/streamlib/PKGBUILD @@ -0,0 +1,24 @@ +# Maintainer: Yuval Adam <aur at yuv dot al> PGP-Key: 55E36E28535222E2A2062848B75B5FC2FA1AFE15 + +pkgname=streamlib +pkgver=0.6.1 +pkgrel=1 +pkgdesc="Play your favorite live streams from command line" +arch=('any') +url="https://github.com/streamlib/streamlib" +license=(GPL) +makedepends=('cargo') +source=("https://github.com/streamlib/streamlib/archive/v${pkgver}.tar.gz") +sha1sums=('1373356032f9f1f7c4454daab7a815747e1dbe78') + +build() { + cd "${pkgname}-${pkgver}" + cargo build --release +} + +package() { + cd "${pkgname}-${pkgver}" + install -Dm755 "target/release/streamlib" "$pkgdir/usr/bin/streamlib" +} + +# vim:set ts=2 sw=2 et: |
