Improved PKGBUILD
This commit is contained in:
12
PKGBUILD
12
PKGBUILD
@@ -1,24 +1,24 @@
|
|||||||
# Maintainer: Erik Reider <erik.reider@protonmail.com>
|
# Maintainer: Erik Reider <erik.reider@protonmail.com>
|
||||||
pkgname=swaync-git
|
pkgname=swaync-git
|
||||||
pkgver=0.1
|
pkgver=0.1.r70.f344600
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc="A simple notificaion daemon with a GTK panel for checking previous notifications like other DE's"
|
pkgdesc="A simple notificaion daemon with a GTK panel for checking previous notifications like other DE's"
|
||||||
pkgfoldername=SwayNotificationCenter
|
_pkgfoldername=SwayNotificationCenter
|
||||||
url="https://github.com/ErikReider/$pkgfoldername"
|
url="https://github.com/ErikReider/$_pkgfoldername"
|
||||||
arch=(x86_64)
|
arch=(x86_64)
|
||||||
license=(GPL)
|
license=(GPL)
|
||||||
depends=(gtk3 gtk-layer-shell dbus)
|
depends=(gtk3 gtk-layer-shell dbus)
|
||||||
makedepends=(vala meson git)
|
makedepends=(vala meson git)
|
||||||
source=("git+https://github.com/ErikReider/$pkgfoldername")
|
source=("git+$url")
|
||||||
sha256sums=('SKIP')
|
sha256sums=('SKIP')
|
||||||
|
|
||||||
pkgver() {
|
pkgver() {
|
||||||
cd $pkgfoldername
|
cd $_pkgfoldername
|
||||||
printf "0.1.r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
|
printf "0.1.r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
|
||||||
}
|
}
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
arch-meson $pkgfoldername build
|
arch-meson $_pkgfoldername build
|
||||||
ninja -C build
|
ninja -C build
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user