updated on Sun Jan 15 00:02:00 UTC 2012
[aur-mirror.git] / breathe-icon-theme / PKGBUILD
blob36245bf1fc0853a515cc5ff5b73578dc1073ece5
1 # Maintainer: boenki <boenki at gmx dot de>
2 # Contributor:Josip <josipponjavic at gmail dot com>
4 pkgname=breathe-icon-theme
5 pkgver=0.51
6 pkgrel=1
7 pkgdesc="A set of icons mixing KDEs "Oxygen" with Ubuntus "Human" set"
8 arch=('any')
9 url="https://wiki.ubuntu.com/Artwork/BreatheIconSet"
10 license=('CCPL:by-sa' 'custom:TRADEMARKS')
11 conflicts=('gnome-icons-breathe')
12 makedepends=('librsvg')
13 options=(!strip !zipman)
14 source=(http://launchpad.net/breathe-icon-set/trunk/${pkgver}/+download/${pkgname}-${pkgver}.tar.gz
15         archlinux-icon.svg
16         TRADEMARKS)
17 md5sums=('1654eeb36246adf2556b84595bfb6e07'
18          '34c9f7d5774e93f4a6cbf1ec818fb763'
19          '05066419eb8239652a0467131485db4d')
21 package() {
22   cd ${srcdir}
23   install -d "${pkgdir}/usr/share/icons/breathe"
24   cp -r ${pkgname}-${pkgver}/* "${pkgdir}/usr/share/icons/breathe"
26   # Replace ubuntu logo with Arch Linux's
27   for size in 16 22 24 32 48; do
28    rsvg -w ${size} -h ${size} archlinux-icon.svg \
29     "${pkgdir}/usr/share/icons/breathe/${size}x${size}/places/start-here.png"
30   done
31   install -D archlinux-icon.svg \
32    "${pkgdir}/usr/share/icons/breathe/scalable/places/start-here.svg"
34   install -D TRADEMARKS "${pkgdir}/usr/share/licenses/${pkgname}/TRADEMARKS"
35   find ${pkgdir} ! -type d -exec chmod 644 {} +