summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAtifChy2021-08-31 00:00:56 +0600
committerAtifChy2021-08-31 00:00:56 +0600
commit2cc763c98724a4fc0eab1df057a18d565d0f6138 (patch)
treea36f6966de614ec4a2f4ff7842e7b684cf362f7e
parent32cfea1c43df9a52981b6b155f5ee331bb2dac45 (diff)
downloadaur-2cc763c98724a4fc0eab1df057a18d565d0f6138.tar.gz
added example config
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD20
2 files changed, 18 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 79aa4da3962..dd08a5a7b66 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = eww-git
pkgdesc = ElKowar's wacky widgets
pkgver = 70285e0_2021.08.27
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/elkowar/eww
arch = any
license = MIT
diff --git a/PKGBUILD b/PKGBUILD
index 028d103bdc5..f588c901ac4 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,8 +1,8 @@
-# Maintainer: Fronkles McFranko <mrelfranko@disroot.org>
+# Maintainer: Atif Chowdhury <iftakhar.awal@gmail.com>
pkgname=eww-git
_pkgname=eww
pkgver=70285e0_2021.08.27
-pkgrel=1
+pkgrel=2
epoch=
pkgdesc="ElKowar's wacky widgets"
arch=('any')
@@ -41,5 +41,19 @@ build() {
package() {
cd "$_pkgname"
- install -D target/release/eww --target-directory "${pkgdir}/usr/bin" --mode 755
+ install -Dm755 target/release/eww "${pkgdir}/usr/bin"
+ 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 |
+| |
+|___________________________________________________________________|"
}
+