diff options
author | Maxime Gauduin | 2017-05-05 22:00:58 +0200 |
---|---|---|
committer | Maxime Gauduin | 2017-05-05 22:00:58 +0200 |
commit | f421ba11779b8a7efbd8e03a0bcfa1bdcebfceb2 (patch) | |
tree | 9d0ddcc409a33135dd10843c8c8ba21ce2fa4b60 | |
download | aur-f421ba11779b8a7efbd8e03a0bcfa1bdcebfceb2.tar.gz |
Add pantheon-applications-menu-git
-rw-r--r-- | .SRCINFO | 40 | ||||
-rw-r--r-- | PKGBUILD | 55 |
2 files changed, 95 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..ccfcca44f934 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,40 @@ +# Generated by mksrcinfo v8 +# Fri May 5 20:00:58 UTC 2017 +pkgbase = pantheon-applications-menu-git + pkgdesc = The Pantheon Application Menu + pkgver = r1111.ff1d629 + pkgrel = 1 + url = https://github.com/elementary/applications-menu + arch = i686 + arch = x86_64 + groups = pantheon-unstable + license = GPL3 + makedepends = cmake + makedepends = git + makedepends = granite-git + makedepends = switchboard-git + makedepends = vala + makedepends = wingpanel-git + depends = appstream + depends = gdk-pixbuf2 + depends = glib2 + depends = glibc + depends = gnome-menus + depends = gtk3 + depends = json-glib + depends = libgee + depends = libsoup + depends = plank + depends = zeitgeist + depends = libgranite.so + depends = libswitchboard-2.0.so + depends = libwingpanel-2.0.so + provides = pantheon-applications-menu + conflicts = pantheon-applications-menu + conflicts = slingshot-launcher + replaces = slingshot-launcher-bzr + source = pantheon-applications-menu::git+https://github.com/elementary/applications-menu.git + sha256sums = SKIP + +pkgname = pantheon-applications-menu-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..cf12c380be1f --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,55 @@ +# Maintainer: Maxime Gauduin <alucryd@archlinux.org> + +pkgname=pantheon-applications-menu-git +pkgver=r1111.ff1d629 +pkgrel=1 +pkgdesc='The Pantheon Application Menu' +arch=('i686' 'x86_64') +url='https://github.com/elementary/applications-menu' +license=('GPL3') +groups=('pantheon-unstable') +depends=('appstream' 'gdk-pixbuf2' 'glib2' 'glibc' 'gnome-menus' 'gtk3' + 'json-glib' 'libgee' 'libsoup' 'plank' 'zeitgeist' + 'libgranite.so' 'libswitchboard-2.0.so' 'libwingpanel-2.0.so') +makedepends=('cmake' 'git' 'granite-git' 'switchboard-git' 'vala' + 'wingpanel-git') +provides=('pantheon-applications-menu') +conflicts=('pantheon-applications-menu' 'slingshot-launcher') +replaces=('slingshot-launcher-bzr') +source=('pantheon-applications-menu::git+https://github.com/elementary/applications-menu.git') +sha256sums=('SKIP') + +pkgver() { + cd pantheon-applications-menu + + echo "r$(git rev-list --count HEAD).$(git rev-parse --short HEAD)" +} + +prepare() { + cd pantheon-applications-menu + + if [[ -d build ]]; then + rm -rf build + fi + mkdir build +} + +build() { + cd pantheon-applications-menu/build + + cmake .. \ + -DCMAKE_BUILD_TYPE='Release' \ + -DCMAKE_INSTALL_PREFIX='/usr' \ + -DCMAKE_INSTALL_LIBDIR='/usr/lib' \ + -DGSETTINGS_COMPILE='OFF' \ + -DUSE_UNITY='OFF' + make +} + +package() { + cd pantheon-applications-menu/build + + make DESTDIR="${pkgdir}" install +} + +# vim: ts=2 sw=2 et: |