summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO31
-rw-r--r--PKGBUILD40
-rw-r--r--gnome-pie-git.install13
3 files changed, 34 insertions, 50 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 699ec45d5a5..3a4c5612658 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,28 +1,21 @@
pkgbase = gnome-pie-git
- pkgdesc = A visual application launcher for gnome.
- pkgver = 316.6d9b7ba
+ pkgdesc = Circular application launcher for GNOME
+ pkgver = 0.7.3.r0.g0140a40
pkgrel = 1
- url = https://github.com/Simmesimme/Gnome-Pie
- install = gnome-pie-git.install
+ url = https://simmesimme.github.io/gnome-pie.html
arch = i686
arch = x86_64
- license = GPL
- makedepends = vala
+ license = MIT
makedepends = cmake
makedepends = git
- depends = gtk3
- depends = libunique3
- depends = gnome-menus
- depends = cairo
+ makedepends = vala
+ depends = libarchive
depends = libgee
- depends = libxml2
- depends = libxtst
- depends = libunique
- depends = gdk-pixbuf2
- depends = hicolor-icon-theme
- depends = bamf
- source = gnome-pie::git://github.com/Simmesimme/Gnome-Pie.git
- md5sums = SKIP
+ depends = libwnck3
+ depends = gnome-menus
+ provides = gnome-pie
+ conflicts = gnome-pie
+ source = git+https://github.com/Simmesimme/gnome-pie
+ sha256sums = SKIP
pkgname = gnome-pie-git
-
diff --git a/PKGBUILD b/PKGBUILD
index 4952005927e..804312d62f1 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,35 +1,39 @@
# Maintainer: robertfoster
pkgname=gnome-pie-git
-pkgver=316.6d9b7ba
+pkgver=0.7.3.r0.g0140a40
pkgrel=1
-pkgdesc="A visual application launcher for gnome."
+pkgdesc="Circular application launcher for GNOME"
arch=('i686' 'x86_64')
-url="https://github.com/Simmesimme/Gnome-Pie"
-license=('GPL')
-depends=('gtk3' 'libunique3' 'gnome-menus' 'cairo' 'libgee' 'libxml2' 'libxtst' 'libunique' 'gdk-pixbuf2' 'hicolor-icon-theme' 'bamf')
-makedepends=('vala' 'cmake' 'git')
-install='gnome-pie-git.install'
-source=('gnome-pie::git://github.com/Simmesimme/Gnome-Pie.git')
+url="https://simmesimme.github.io/gnome-pie.html"
+license=('MIT')
+depends=('libarchive' 'libgee' 'libwnck3' 'gnome-menus')
+makedepends=('cmake' 'git' 'vala')
+provides=("${pkgname%-git}")
+conflicts=("${pkgname%-git}")
+source=("git+https://github.com/Simmesimme/gnome-pie")
+prepare() {
+ cd "${srcdir}/${pkgname%-git}"
+ ./resources/locale/compile-po.sh
+ [[ -d build ]] || mkdir build
+}
build() {
- cd gnome-pie
- msg "Building gnome-pie"
- mkdir -p build
- cd build
- cmake -DCMAKE_INSTALL_PREFIX=/usr ..
+ cd "${srcdir}/${pkgname%-git}/build"
+ cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release
make
}
package() {
- cd gnome-pie/build
- make DESTDIR=${pkgdir} install
+ cd "${srcdir}/${pkgname%-git}/build"
+ make DESTDIR="$pkgdir" install
+ install -Dm644 ../COPYING -t "${pkgdir}/usr/share/licenses/${pkgname}"
}
pkgver() {
- cd gnome-pie
- echo $(git rev-list --count master).$(git rev-parse --short master)
+ cd "${srcdir}/${pkgname%-git}"
+ git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
-md5sums=('SKIP')
+sha256sums=('SKIP')
diff --git a/gnome-pie-git.install b/gnome-pie-git.install
deleted file mode 100644
index 316694d5b0a..00000000000
--- a/gnome-pie-git.install
+++ /dev/null
@@ -1,13 +0,0 @@
-post_install() {
- gtk-update-icon-cache
-}
-
-post_upgrade() {
- post_install $1
-}
-
-post_remove() {
- post_install $1
-}
-
-