diff options
author | éclairevoyant | 2023-03-07 15:28:41 -0500 |
---|---|---|
committer | éclairevoyant | 2023-03-07 15:28:41 -0500 |
commit | 337aa76279b8123aef6741fdfe505e6b0ce801dd (patch) | |
tree | c35c052cf5e9ae6178eceef2421a7698fc7cf677 | |
parent | 6dc7b9878882074be977c5371003256fc022650b (diff) | |
download | aur-337aa76279b8123aef6741fdfe505e6b0ce801dd.tar.gz |
eww-wayland-git: fix deps, arch; cleanup unused vars
-rw-r--r-- | .SRCINFO | 21 | ||||
-rw-r--r-- | .gitignore | 5 | ||||
-rw-r--r-- | PKGBUILD | 58 | ||||
-rw-r--r-- | eww-wayland-git.install (renamed from eww.install) | 0 |
4 files changed, 44 insertions, 40 deletions
@@ -1,17 +1,20 @@ pkgbase = eww-wayland-git - pkgdesc = ElKowar's wacky widgets (Wayland Only) - pkgver = 0.1.0.r164.g70285e0 - pkgrel = 3 + pkgdesc = ElKowar's wacky widgets (Wayland build) + pkgver = 0.4.0.r20.g8ff4142 + pkgrel = 1 url = https://github.com/elkowar/eww - install = eww.install - arch = any + install = eww-wayland-git.install + arch = x86_64 license = MIT - makedepends = rustup makedepends = git + makedepends = rustup depends = gtk3 - provides = eww + depends = gtk-layer-shell + provides = eww=0.4.0 conflicts = eww - source = git+https://github.com/elkowar/eww - md5sums = SKIP + source = git+https://github.com/elkowar/eww.git?signed + validpgpkeys = B558974128820CB473BD9807E321AD71B1D1F27F + validpgpkeys = 5DE3E0509C47EA3CF04A42D34AEE18F83AFDEB23 + b2sums = SKIP pkgname = eww-wayland-git diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..a8b40289b59d --- /dev/null +++ b/.gitignore @@ -0,0 +1,5 @@ +/* +!/.gitignore +!/.SRCINFO +!/PKGBUILD +!/eww-wayland-git.install @@ -1,46 +1,42 @@ # Maintainer: Atif Chowdhury <iftakhar.awal@gmail.com> -pkgname=eww-wayland-git + _pkgname=eww -pkgver=0.1.0.r164.g70285e0 -pkgrel=3 -epoch= -pkgdesc="ElKowar's wacky widgets (Wayland Only)" -arch=('any') +pkgname="$_pkgname-wayland-git" +pkgver=0.4.0.r20.g8ff4142 +pkgrel=1 +pkgdesc="ElKowar's wacky widgets (Wayland build)" +arch=('x86_64') url="https://github.com/elkowar/eww" license=('MIT') -groups=() -depends=("gtk3") -makedepends=("rustup" "git") -checkdepends=() -optdepends=() -provides=("eww") +depends=(gtk3 gtk-layer-shell) +makedepends=(git rustup) +provides=("$_pkgname=${pkgver/.r*/}") conflicts=("eww") -replaces=() -backup=() -options=() -install="${_pkgname}.install" -changelog= -source=("git+https://github.com/elkowar/eww") -noextract=() -md5sums=("SKIP") -validpgpkeys=() +install=$pkgname.install +source=("git+$url.git?signed") +b2sums=('SKIP') +validpgpkeys=( + 'B558974128820CB473BD9807E321AD71B1D1F27F' # Leon Kowarschick <5300871+elkowar@users.noreply.github.com> + '5DE3E0509C47EA3CF04A42D34AEE18F83AFDEB23' # GitHub (web-flow commit signing) <noreply@github.com> +) pkgver() { - cd ${_pkgname} - git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g' + cd $_pkgname + git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g' } build() { - cd "$_pkgname" - rustup toolchain install nightly - cargo +nightly build --release --no-default-features --features=wayland + cd $_pkgname + rustup toolchain install nightly + cargo +nightly build --release --no-default-features --features=wayland } package() { - cd "$_pkgname" + cd $_pkgname + + install -Dm644 LICENSE -t "$pkgdir/usr/share/licenses/$_pkgname/" + install -Dm755 target/release/$_pkgname -t "$pkgdir/usr/bin/" - install -Dm755 target/release/eww "${pkgdir}/usr/bin/${_pkgname}" - mkdir -p "${pkgdir}/etc/xdg/${_pkgname}" - cp -r examples/eww-bar "${pkgdir}/etc/xdg/${_pkgname}" - install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${_pkgname}/LICENSE" + install -d "$pkgdir/etc/xdg/$_pkgname/" + cp -r examples/eww-bar "$pkgdir/etc/xdg/$_pkgname/" } diff --git a/eww.install b/eww-wayland-git.install index 3d55ba90bd60..3d55ba90bd60 100644 --- a/eww.install +++ b/eww-wayland-git.install |