diff options
-rw-r--r-- | .SRCINFO | 14 | ||||
-rw-r--r-- | PKGBUILD | 27 |
2 files changed, 41 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..fb5c9161c8c2 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,14 @@ +pkgbase = unity-session-shortcuts + pkgdesc = Allows shutdown, logout, and reboot from dash + pkgver = 1.4 + pkgrel = 1 + url = https://launchpad.net/session-shortcuts + arch = x86_64 + license = GPL + makedepends = intltool + depends = gettext + depends = gnome-session + source = https://launchpad.net/ubuntu/+archive/primary/+sourcefiles/session-shortcuts/1.4/session-shortcuts_1.4.tar.xz + sha512sums = SKIP + +pkgname = unity-session-shortcuts diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..577fdc00ca11 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,27 @@ +# Maintainer: Xinc + +pkgname=unity-session-shortcuts +_actual_name=session-shortcuts +pkgver=1.4 +# For some reason the extracted folder is older than the source file. +_extractedfolder_version=1.3 +pkgrel=1 +pkgdesc="Allows shutdown, logout, and reboot from dash" +arch=(x86_64) +url="https://launchpad.net/session-shortcuts" +license=(GPL) +depends=(gettext gnome-session) +makedepends=(intltool) +source=("https://launchpad.net/ubuntu/+archive/primary/+sourcefiles/${_actual_name}/${pkgver}/${_actual_name}_${pkgver}.tar.xz") +sha512sums=('SKIP') + +build() { + cd "${_actual_name}"-$_extractedfolder_version + ./build.sh +} + +package() { + cd "${_actual_name}"-$_extractedfolder_version + install -d "$pkgdir"/usr/share/applications + cp -rf build/*.desktop "$pkgdir"/usr/share/applications +} |