diff options
author | ArchieMeng | 2020-12-02 16:45:41 +0800 |
---|---|---|
committer | ArchieMeng | 2020-12-02 16:45:41 +0800 |
commit | da43a1881b5685d7089d0844b9fbcc0ce1b447b3 (patch) | |
tree | bb7766b8de207c0af2b9a49532b0d77a9048c9ee | |
download | aur-plasma-nano-git.tar.gz |
initial commit for plasma-nano-git
-rw-r--r-- | .SRCINFO | 29 | ||||
-rw-r--r-- | PKGBUILD | 58 |
2 files changed, 87 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..cba73059c822 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,29 @@ +pkgbase = plasma-nano-git + pkgdesc = A minimal plasma shell package intended for embedded devices. + pkgver = r127.da8ffe2 + pkgrel = 1 + url = https://invent.kde.org/plasma/plasma-nano + arch = any + license = GPL2 + makedepends = cmake + makedepends = extra-cmake-modules + makedepends = git + depends = kactivities + depends = kactivities-stats + depends = ki18n + depends = kdeconnect + depends = plasma-workspace + depends = kdeclarative + depends = plasma-framework + depends = kirigami2 + depends = kcmutils + depends = kwayland + depends = xorg-server-xwayland + depends = plasma-wayland-session + provides = plasma-nano + conflicts = plasma-nano + source = git+https://invent.kde.org//plasma/plasma-nano.git + md5sums = SKIP + +pkgname = plasma-nano-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..1eba5216e97c --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,58 @@ +# Maintainer: Archie Meng <archiemeng@protonmail.com> +pkgname=plasma-nano-git +pkgver=r127.da8ffe2 +pkgrel=1 +pkgdesc="A minimal plasma shell package intended for embedded devices." +arch=('any') +url="https://invent.kde.org/plasma/plasma-nano" +license=('GPL2') +groups=() +depends=( + 'kactivities' + 'kactivities-stats' + 'ki18n' + 'kdeconnect' + 'plasma-workspace' + 'kdeclarative' + 'plasma-framework' + 'kirigami2' + 'kcmutils' + 'kwayland' + 'xorg-server-xwayland' + 'plasma-wayland-session') + +makedepends=('cmake' 'extra-cmake-modules' 'git') +optdepends=() +provides=('plasma-nano') +conflicts=('plasma-nano') +replaces=() +backup=() +options=() +install= +source=('git+https://invent.kde.org//plasma/plasma-nano.git') +noextract=() +md5sums=('SKIP') + +pkgver() { + cd "$srcdir/plasma-nano" + printf "r%s.%s\n" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +} + +prepare() { + cd "$srcdir/plasma-nano" + cmake -B build \ + -DCMAKE_INSTALL_PREFIX="/usr" \ + -DCMAKE_BUILD_TYPE=Release + +} + + +build() { + cd "$srcdir/plasma-nano/build" + make +} + +package() { + cd "$srcdir/plasma-nano/build" + make DESTDIR="$pkgdir/" install +} |