diff options
-rw-r--r-- | .SRCINFO | 16 | ||||
-rw-r--r-- | PKGBUILD | 25 |
2 files changed, 41 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..b24fea6f5159 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,16 @@ +pkgbase = sparky-dashboard-git + pkgdesc = The Sparky dashboard displays applications from /usr/share/applications dir into yad based window + pkgver = r4.46912d8 + pkgrel = 1 + url = https://github.com/sparkylinux/sparky-dashboard + arch = any + license = GPL3 + makedepends = git + depends = yad + provides = sparky-dashboard + conflicts = sparky-dashboard + source = sparky-dashboard-git::git+https://github.com/sparkylinux/sparky-dashboard.git + md5sums = SKIP + +pkgname = sparky-dashboard-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..9115eb7eab6e --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,25 @@ +# Maintainer: + +pkgname=sparky-dashboard-git +pkgver=r4.46912d8 +pkgrel=1 +pkgdesc="The Sparky dashboard displays applications from /usr/share/applications dir into yad based window" +arch=('any') +url="https://github.com/sparkylinux/sparky-dashboard" +license=(GPL3) +depends=('yad') +makedepends=('git') +provides=('sparky-dashboard') +conflicts=('sparky-dashboard') +source=("${pkgname}::git+${url}.git") +md5sums=('SKIP') + +pkgver() { + cd "${pkgname}" + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +} + +package() { + install -Dm775 ${srcdir}/${pkgname}/bin/sparky-dashboard ${pkgdir}/usr/bin/sparky-dashboard + install -Dm775 ${srcdir}/${pkgname}/share/sparky-dashboard.desktop ${pkgdir}/usr/share/applications/sparky-dashboard.desktop +} |