Pārlūkot izejas kodu

upgpkg: 3.21.2+17+ge562774-1

Jan de Groot 8 gadi atpakaļ
vecāks
revīzija
59af306c60
1 mainītis faili ar 18 papildinājumiem un 7 dzēšanām
  1. 18 7
      PKGBUILD

+ 18 - 7
PKGBUILD

@@ -2,26 +2,37 @@
 # Contributor: Jan de Groot <jgc@archlinux.org>
 # Contributor: Jan de Groot <jgc@archlinux.org>
 
 
 pkgname=adwaita-icon-theme
 pkgname=adwaita-icon-theme
-pkgver=3.20
-pkgrel=2
+pkgver=3.21.2+17+ge562774
+pkgrel=1
 pkgdesc="Adwaita icon theme"
 pkgdesc="Adwaita icon theme"
 arch=(any)
 arch=(any)
 depends=('hicolor-icon-theme' 'gtk-update-icon-cache' 'librsvg')
 depends=('hicolor-icon-theme' 'gtk-update-icon-cache' 'librsvg')
-makedepends=('intltool' 'icon-naming-utils')
+makedepends=('intltool' 'gnome-common' 'git' 'gtk3')
 url="http://www.gnome.org"
 url="http://www.gnome.org"
 license=('GPL')
 license=('GPL')
 groups=('gnome')
 groups=('gnome')
 options=('!emptydirs')
 options=('!emptydirs')
-source=(https://download.gnome.org/sources/$pkgname/${pkgver:0:4}/$pkgname-$pkgver.tar.xz)
-sha256sums=('7a0a887349f340dd644032f89d81264b694c4b006bd51af1c2c368d431e7ae35')
+_commit=e562774e7d7a43ca4baaf6af47a2a2fc001f1db6
+source=("git://git.gnome.org/adwaita-icon-theme#commit=$_commit")
+sha256sums=('SKIP')
 
 
+pkgver() {
+  cd $pkgname
+  git describe --tags | sed 's/-/+/g'
+}
+
+prepare() {
+  cd $pkgname
+  NOCONFIGURE=1 ./autogen.sh
+}
+  
 build() {
 build() {
-    cd "$pkgname-$pkgver"
+    cd $pkgname
     ./configure --prefix=/usr
     ./configure --prefix=/usr
     make
     make
 }
 }
 
 
 package() {
 package() {
-    cd "$pkgname-$pkgver"
+    cd $pkgname
     make DESTDIR="$pkgdir" install
     make DESTDIR="$pkgdir" install
 }
 }