diff options
author | Jagadeesh Kotra | 2022-02-10 16:03:31 +0530 |
---|---|---|
committer | Jagadeesh Kotra | 2022-02-10 16:03:31 +0530 |
commit | 2248d94eaab8aa3116f15b261b4c8c19923fd630 (patch) | |
tree | c05d7c50159f362827c1b700a711a4cf843ae45a | |
download | aur-2248d94eaab8aa3116f15b261b4c8c19923fd630.tar.gz |
Initial Commit
-rw-r--r-- | .SRCINFO | 13 | ||||
-rw-r--r-- | PKGBUILD | 24 |
2 files changed, 37 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..2dc662c373cb --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,13 @@ +pkgbase = wpc + pkgdesc = Automatic Wallpaper Changer which can retrieve wallpapers from wallhaven, Bing and Reddit + pkgver = 1.3.0 + pkgrel = 1 + url = https://github.com/jkotra/wpc + arch = x86_64 + license = MIT + makedepends = rust + depends = gnome-shell + source = https://github.com/jkotra/wpc/archive/refs/tags/1.3.0.tar.gz + sha256sums = a3afa040949d7afe3d28310dd0e9f37b3ee0ad1fbed03c280164625aaf82200a + +pkgname = wpc diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..8802844c3843 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,24 @@ +# Maintainer: Jagadeesh Kotra <jagadeesh at stdin dot top> + +pkgname=wpc +pkgver=1.3.0 +pkgrel=1 +pkgdesc='Automatic Wallpaper Changer which can retrieve wallpapers from wallhaven, Bing and Reddit' +arch=('x86_64') +url='https://github.com/jkotra/wpc' +license=('MIT') +depends=('gnome-shell') +makedepends=('rust') +source=("https://github.com/jkotra/wpc/archive/refs/tags/$pkgver.tar.gz") +sha256sums=('a3afa040949d7afe3d28310dd0e9f37b3ee0ad1fbed03c280164625aaf82200a') + +build() { + export RUSTUP_TOOLCHAIN=stable + export CARGO_TARGET_DIR=target + cargo build --frozen --manifest-path $srcdir/$pkgname-$pkgver/Cargo.toml --release +} + +package() { + install -Dm0755 "target/release/$pkgname" -t "$pkgdir/usr/bin/" +} + |