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 /PKGBUILD | |
download | aur-da43a1881b5685d7089d0844b9fbcc0ce1b447b3.tar.gz |
initial commit for plasma-nano-git
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 58 |
1 files changed, 58 insertions, 0 deletions
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 +} |