[arch-commits] Commit in atomix/trunk (PKGBUILD)
Jan Steffens
heftig at archlinux.org
Tue Sep 27 20:17:14 UTC 2016
Date: Tuesday, September 27, 2016 @ 20:17:13
Author: heftig
Revision: 277160
3.22.0-1
Modified:
atomix/trunk/PKGBUILD
----------+
PKGBUILD | 23 +++++++++++++++++------
1 file changed, 17 insertions(+), 6 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2016-09-27 20:16:05 UTC (rev 277159)
+++ PKGBUILD 2016-09-27 20:17:13 UTC (rev 277160)
@@ -2,7 +2,7 @@
# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
pkgname=atomix
-pkgver=3.20.0
+pkgver=3.22.0
pkgrel=1
pkgdesc="Build molecules out of single atoms"
url="https://wiki.gnome.org/Apps/Atomix"
@@ -9,18 +9,29 @@
arch=(x86_64 i686)
license=(GPL2)
depends=(gtk3)
-makedepends=(intltool)
+makedepends=(intltool autoconf-archive appstream-glib git)
groups=(gnome-extra)
-source=(https://download.gnome.org/sources/$pkgname/${pkgver:0:4}/$pkgname-$pkgver.tar.xz)
-sha256sums=('d7ffb2ddc8efd4af11986296b051be0af5bfe2226dac2b890290d3b285dd707f')
+_commit=6fb4a9840df2f1e51ed00076e61509ced8c67d00 # tags/3.22.0^0
+source=("git://git.gnome.org/atomix#commit=$_commit")
+sha256sums=('SKIP')
+pkgver() {
+ cd $pkgname
+ git describe --tags | sed 's/-/+/g'
+}
+
+prepare() {
+ cd $pkgname
+ NOCONFIGURE=1 ./autogen.sh
+}
+
build() {
- cd $pkgname-$pkgver
+ cd $pkgname
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var
make
}
package() {
- cd $pkgname-$pkgver
+ cd $pkgname
make DESTDIR="$pkgdir" install
}
More information about the arch-commits
mailing list