summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorNathan Simmonds2019-10-29 21:22:22 +0000
committerNathan Simmonds2019-10-29 21:22:22 +0000
commit14ebc7066d7b13f560dd1213bfe26f510db2ae0b (patch)
tree28065777b997e4c8cecdfe3a0d87a86a81e8cfc7
downloadaur-14ebc7066d7b13f560dd1213bfe26f510db2ae0b.tar.gz
Initial package upload
-rw-r--r--.SRCINFO27
-rw-r--r--PKGBUILD33
2 files changed, 60 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..34ee58a9912
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,27 @@
+pkgbase = plasma5-applets-kde-arch-update-notifier
+ pkgdesc = A KDE plasmoid for your system tray notifying you of available updates with AUR Support
+ pkgver = 7.2.1
+ pkgrel = 1
+ url = https://github.com/I-Dream-in-Code/kde-arch-update-plasmoid
+ arch = any
+ license = GPL
+ makedepends = make
+ makedepends = cmake
+ makedepends = git
+ makedepends = extra-cmake-modules
+ depends = fakeroot
+ depends = konsole
+ depends = pacman-contrib
+ depends = plasma-desktop
+ depends = plasma-framework
+ depends = qt5-xmlpatterns
+ optdepends = checkupdates-aur
+ optdepends = snapd
+ optdepends = yakuake
+ conflicts = plasma5-applets-kde-arch-update-notifier-git
+ replaces = plasma5-applets-kde-arch-update-notifier-git
+ source = https://github.com/I-Dream-in-Code/kde-arch-update-plasmoid/archive/7.2.1.tar.gz
+ md5sums = SKIP
+
+pkgname = plasma5-applets-kde-arch-update-notifier
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..5c4cfcfdf66
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,33 @@
+# Maintainer: Nathan Simmonds <arch@nsimmonds.com>
+pkgname=plasma5-applets-kde-arch-update-notifier
+pkgver=7.2.1
+pkgrel=1
+pkgdesc="A KDE plasmoid for your system tray notifying you of available updates with AUR Support"
+url="https://github.com/I-Dream-in-Code/kde-arch-update-plasmoid"
+arch=('any')
+license=('GPL')
+depends=("fakeroot" "konsole" "pacman-contrib" "plasma-desktop" "plasma-framework" "qt5-xmlpatterns")
+optdepends=("checkupdates-aur" "snapd" "yakuake")
+makedepends=("make" "cmake" "git" "extra-cmake-modules")
+conflicts=(plasma5-applets-kde-arch-update-notifier-git)
+replaces=(plasma5-applets-kde-arch-update-notifier-git)
+backup=()
+install=
+source=("https://github.com/I-Dream-in-Code/kde-arch-update-plasmoid/archive/$pkgver.tar.gz")
+md5sums=("SKIP")
+pkgver() {
+ cd "$srcdir/kde-arch-update-plasmoid"
+ # cutting off 'foo-' prefix that presents in the git tag
+ printf "%s" "$(git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g')"
+}
+
+build() {
+ cd kde-arch-update-plasmoid
+ mkdir build
+ cd build
+ cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release -DKDE_INSTALL_LIBDIR=lib -DKDE_INSTALL_USE_QT_SYS_PATHS=ON
+}
+package(){
+ cd ${srcdir}/kde-arch-update-plasmoid/build
+ make DESTDIR="$pkgdir" install
+}