diff --git a/contrib/polybar-git.aur/.SRCINFO b/contrib/polybar-git.aur/.SRCINFO index aaf708bf..0285f3a1 100644 --- a/contrib/polybar-git.aur/.SRCINFO +++ b/contrib/polybar-git.aur/.SRCINFO @@ -26,6 +26,7 @@ pkgbase = polybar-git conflicts = lemonbuddy-git conflicts = lemonbuddy source = polybar::git+https://github.com/jaagr/polybar.git + install = polybar.install md5sums = SKIP pkgname = polybar-git diff --git a/contrib/polybar-git.aur/PKGBUILD b/contrib/polybar-git.aur/PKGBUILD index 545bde6d..06346feb 100644 --- a/contrib/polybar-git.aur/PKGBUILD +++ b/contrib/polybar-git.aur/PKGBUILD @@ -20,6 +20,7 @@ optdepends=("alsa-lib: volume module support" makedepends=("cmake" "python" "python2" "pkg-config") provides=("polybar") conflicts=("polybar" "lemonbuddy-git" "lemonbuddy") +install="${_pkgname}.install" source=("${_pkgname}::git+${url}.git") md5sums=("SKIP") diff --git a/contrib/polybar-git.aur/polybar.install b/contrib/polybar-git.aur/polybar.install new file mode 100644 index 00000000..6b954fb0 --- /dev/null +++ b/contrib/polybar-git.aur/polybar.install @@ -0,0 +1,12 @@ +post_install() { + cat << EOF + + Get started with the example configuration: + + $ install -Dm644 /usr/share/doc/polybar/config \$HOME/.config/polybar + $ polybar example + + For more information, see https://github.com/jaagr/polybar/wiki + +EOF +} diff --git a/contrib/polybar.aur/.SRCINFO b/contrib/polybar.aur/.SRCINFO index 5050321e..3fa3deff 100644 --- a/contrib/polybar.aur/.SRCINFO +++ b/contrib/polybar.aur/.SRCINFO @@ -25,6 +25,7 @@ pkgbase = polybar conflicts = lemonbuddy-git conflicts = lemonbuddy source = polybar::git+https://github.com/jaagr/polybar.git#tag=2.4.6 + install = polybar.install md5sums = SKIP pkgname = polybar diff --git a/contrib/polybar.aur/PKGBUILD b/contrib/polybar.aur/PKGBUILD index 528bc321..f02c8f70 100644 --- a/contrib/polybar.aur/PKGBUILD +++ b/contrib/polybar.aur/PKGBUILD @@ -18,6 +18,7 @@ optdepends=("alsa-lib: volume module support" "curl: github module support") makedepends=("cmake" "python" "python2" "pkg-config") conflicts=("polybar-git" "lemonbuddy-git" "lemonbuddy") +install="${pkgname}.install" source=("${pkgname}::git+${url}.git#tag=${pkgver}") md5sums=("SKIP") diff --git a/contrib/polybar.aur/polybar.install b/contrib/polybar.aur/polybar.install new file mode 100644 index 00000000..6b954fb0 --- /dev/null +++ b/contrib/polybar.aur/polybar.install @@ -0,0 +1,12 @@ +post_install() { + cat << EOF + + Get started with the example configuration: + + $ install -Dm644 /usr/share/doc/polybar/config \$HOME/.config/polybar + $ polybar example + + For more information, see https://github.com/jaagr/polybar/wiki + +EOF +}