Commit 0c6bd9e6 authored by A. Wilcox's avatar A. Wilcox Committed by Ariadne Conill

main/adwaita-icon-theme: modernise, mark no tests

parent cfde1aaa
...@@ -6,11 +6,10 @@ pkgrel=0 ...@@ -6,11 +6,10 @@ pkgrel=0
pkgdesc="Adwaita icon theme" pkgdesc="Adwaita icon theme"
url="http://www.gnome.org" url="http://www.gnome.org"
arch="noarch" arch="noarch"
options="!check" # Icons only, no binaries.
license="LGPL-3.0-or-later or CC-BY-SA" license="LGPL-3.0-or-later or CC-BY-SA"
depends="" depends=""
depends_dev=""
makedepends="$depends_dev intltool gtk+2.0 gtk+3.0 librsvg" makedepends="$depends_dev intltool gtk+2.0 gtk+3.0 librsvg"
install=""
subpackages="$pkgname-dev" subpackages="$pkgname-dev"
case $pkgver in case $pkgver in
*.*.*.*) _v=${pkgver%.*.*};; *.*.*.*) _v=${pkgver%.*.*};;
...@@ -20,19 +19,8 @@ esac ...@@ -20,19 +19,8 @@ esac
source="http://download.gnome.org/sources/adwaita-icon-theme/${_v}/adwaita-icon-theme-$pkgver.tar.xz" source="http://download.gnome.org/sources/adwaita-icon-theme/${_v}/adwaita-icon-theme-$pkgver.tar.xz"
_builddir="$srcdir"/adwaita-icon-theme-$pkgver
prepare() {
local i
cd "$_builddir"
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
}
build() { build() {
cd "$_builddir" cd "$builddir"
DATADIRNAME=share \ DATADIRNAME=share \
./configure \ ./configure \
--build=$CBUILD \ --build=$CBUILD \
...@@ -41,16 +29,14 @@ build() { ...@@ -41,16 +29,14 @@ build() {
--sysconfdir=/etc \ --sysconfdir=/etc \
--mandir=/usr/share/man \ --mandir=/usr/share/man \
--infodir=/usr/share/info \ --infodir=/usr/share/info \
--localstatedir=/var \ --localstatedir=/var
|| return 1 make DATADIRNAME=share
make DATADIRNAME=share || return 1
} }
package() { package() {
cd "$_builddir" cd "$_builddir"
make DESTDIR="$pkgdir" install pkgconfigdir=/usr/lib/pkgconfig\ make DESTDIR="$pkgdir" install pkgconfigdir=/usr/lib/pkgconfig\
DATADIRNAME=share \ DATADIRNAME=share
|| return 1
} }
sha512sums="bed005074b63e72b6f4280aa5bc998099217336bed43ccc2f139ddc56f1bb83786238c3c2615254b2cd78c26cbc82114b207adeb3932add22efd39e8ca47eda6 adwaita-icon-theme-3.26.1.tar.xz" sha512sums="bed005074b63e72b6f4280aa5bc998099217336bed43ccc2f139ddc56f1bb83786238c3c2615254b2cd78c26cbc82114b207adeb3932add22efd39e8ca47eda6 adwaita-icon-theme-3.26.1.tar.xz"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment