PKGBUILDs/community/human-icon-theme/PKGBUILD
2009-10-09 21:15:33 -05:00

36 lines
1.1 KiB
Bash

# $Id: PKGBUILD 2290 2009-09-14 11:18:13Z foutrelis $
# Maintainer: Evangelos Foutras <foutrelis@gmail.com>
# Contributor: Dmitry N.Shilov <stormblast@land.ru>
pkgname=human-icon-theme
pkgver=0.35
pkgrel=1
pkgdesc="Ubuntu's default icon theme"
arch=('any')
url="http://www.ubuntu.com/"
license=('custom:cc-by-sa-2.5')
makedepends=('pkgconfig' 'intltool' 'imagemagick' 'icon-naming-utils')
conflicts=('dapper-icon-theme')
source=(http://archive.ubuntu.com/ubuntu/pool/main/h/$pkgname/${pkgname}_$pkgver.tar.gz
arch-icons.tar.gz)
md5sums=('dd9bad3b7f95619a6536932300fe202a'
'837ec4dbbd613c5b965a74bdfff0c846')
build() {
cd "$srcdir/$pkgname-$pkgver"
make || return 1
make DESTDIR="$pkgdir" install
# Copy over the license
install -D -m644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
# Replace Ubuntu's logo with Arch Linux's
find "$srcdir/arch-icons" -type f | while read f; do
target=$(echo $f | cut -c$((${#srcdir} + 13))-)
install -D -m644 "$f" "$pkgdir/usr/share/icons/Human/$target"
done
# Remove uneeded translations
rm -rf "$pkgdir/usr/share/locale"
}
# vim:set ts=2 sw=2 et: