diff options
author | Rehan Ali Rana | 2020-06-09 11:55:35 -0400 |
---|---|---|
committer | Rehan Ali Rana | 2020-06-09 11:55:35 -0400 |
commit | 5b84d736d8f664adf11e8e292608381747562cb0 (patch) | |
tree | b0822fbc13886b40003065db1fb99bad2e9bf4d2 | |
download | aur-5b84d736d8f664adf11e8e292608381747562cb0.tar.gz |
Initial package upload, v1.1.0
-rw-r--r-- | .SRCINFO | 14 | ||||
-rw-r--r-- | PKGBUILD | 26 |
2 files changed, 40 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..3541978fafc1 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,14 @@ +pkgbase = dyn-wall-rs + pkgdesc = A utility to allow you to set a dynamic wallpaper and more. + pkgver = 1.1.0 + pkgrel = 1 + url = https://github.com/RAR27/dyn-wall-rs + arch = x86_64 + license = GPL3 + makedepends = rust + optdepends = feh: for setting wallpapers for window managers + source = dyn-wall-rs-1.1.0.tar.gz::https://github.com/RAR27/dyn-wall-rs/archive/v1.1.0.tar.gz + sha256sums = c5e89a5c161995c628bc08067e155fd421a72de4389baf805477703daa4cb869 + +pkgname = dyn-wall-rs + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..41c38a5428ef --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,26 @@ +# Maintainer: Rehan Rana <rehanalirana@tuta.io> + +pkgname=dyn-wall-rs +pkgver=1.1.0 +pkgrel=1 +pkgdesc='A utility to allow you to set a dynamic wallpaper and more.' +arch=('x86_64') +url='https://github.com/RAR27/dyn-wall-rs' +license=('GPL3') +makedepends=('rust') +optdepends=('feh: for setting wallpapers for window managers') +source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz") +sha256sums=('c5e89a5c161995c628bc08067e155fd421a72de4389baf805477703daa4cb869') + +build() { + cd "$pkgname-$pkgver" + + cargo build --release +} + +package() { + cd "$pkgname-$pkgver" + + install -Dm755 target/release/$pkgname "$pkgdir/usr/bin/$pkgname" + install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" +} |