diff options
author | AtifChy | 2021-08-31 01:37:18 +0600 |
---|---|---|
committer | AtifChy | 2021-08-31 01:37:18 +0600 |
commit | 6dc7b9878882074be977c5371003256fc022650b (patch) | |
tree | de7a331d8909b6958f87fb0a48bf6b6b80590459 | |
parent | bf9a12129a640b2749685cffe4f47d948a4ff8de (diff) | |
download | aur-6dc7b9878882074be977c5371003256fc022650b.tar.gz |
added a post install command
-rw-r--r-- | .SRCINFO | 3 | ||||
-rw-r--r-- | PKGBUILD | 16 | ||||
-rw-r--r-- | eww.install | 11 |
3 files changed, 16 insertions, 14 deletions
@@ -1,8 +1,9 @@ pkgbase = eww-wayland-git pkgdesc = ElKowar's wacky widgets (Wayland Only) pkgver = 0.1.0.r164.g70285e0 - pkgrel = 2 + pkgrel = 3 url = https://github.com/elkowar/eww + install = eww.install arch = any license = MIT makedepends = rustup @@ -2,7 +2,7 @@ pkgname=eww-wayland-git _pkgname=eww pkgver=0.1.0.r164.g70285e0 -pkgrel=2 +pkgrel=3 epoch= pkgdesc="ElKowar's wacky widgets (Wayland Only)" arch=('any') @@ -18,7 +18,7 @@ conflicts=("eww") replaces=() backup=() options=() -install= +install="${_pkgname}.install" changelog= source=("git+https://github.com/elkowar/eww") noextract=() @@ -39,18 +39,8 @@ build() { package() { cd "$_pkgname" - install -Dm755 target/release/eww "${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" - - echo "\ -_____________________________________________________________________ -| | -| The example config can be found in /etc/xdg/eww | -| | -| For better experience, please write your own config. | -| WIKI: https://elkowar.github.io/eww/configuration.html | -| | -|___________________________________________________________________|" } diff --git a/eww.install b/eww.install new file mode 100644 index 000000000000..3d55ba90bd60 --- /dev/null +++ b/eww.install @@ -0,0 +1,11 @@ +post_install() { + echo "\ +_____________________________________________________________________ +| | +| The example config can be found in /etc/xdg/eww | +| | +| For better experience, please write your own config. | +| WIKI: https://elkowar.github.io/eww/configuration.html | +| | +|___________________________________________________________________|" +} |