summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorgustawho2020-07-06 19:26:41 -0600
committergustawho2020-07-06 19:26:41 -0600
commit7c775e2d6dc3f0cbde3782378b29f1fd444f2c11 (patch)
tree1686f9e4946f95872ef3596b2c3cc54995389e21
downloadaur-7c775e2d6dc3f0cbde3782378b29f1fd444f2c11.tar.gz
Package added
-rw-r--r--.SRCINFO16
-rw-r--r--PKGBUILD33
2 files changed, 49 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..b4aeaef876e
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,16 @@
+pkgbase = plasma5-applets-simplemenu-git
+ pkgdesc = Simplified menu for your Plasma Desktop
+ pkgver = r91.1f0a9e3
+ pkgrel = 1
+ url = https://invent.kde.org/plasma/plasma-simplemenu
+ arch = any
+ license = GPL3
+ makedepends = git
+ depends = plasma-workspace
+ provides = plasma5-applets-simplemenu
+ conflicts = plasma5-applets-simplemenu
+ source = git+https://invent.kde.org/plasma/plasma-simplemenu.git
+ sha256sums = SKIP
+
+pkgname = plasma5-applets-simplemenu-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..c1cc90ec765
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,33 @@
+# Maintainer: Tony Fettes <feihaoxiang2014@gmail.com>
+
+pkgname=plasma5-applets-simplemenu-git
+_gitname=plasma-simplemenu
+pkgver=r91.1f0a9e3
+pkgrel=1
+pkgdesc="Simplified menu for your Plasma Desktop"
+arch=('any')
+url="https://invent.kde.org/plasma/plasma-simplemenu"
+license=('GPL3')
+depends=('plasma-workspace')
+makedepends=('git')
+provides=('plasma5-applets-simplemenu')
+conflicts=('plasma5-applets-simplemenu')
+source=("git+${url}.git")
+sha256sums=('SKIP')
+
+pkgver() {
+ cd ${_gitname}
+ printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+}
+
+build() {
+ mkdir -p cd ${srcdir}/${_gitname}/build
+ cd ${srcdir}/${_gitname}/build
+ cmake .. \
+ -DCMAKE_INSTALL_PREFIX=/usr
+}
+
+package() {
+ cd ${srcdir}/${_gitname}/build
+ make DESTDIR="$pkgdir" install
+}