summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 87ffa729da6fc4cea5e66cab09a4966780dd751a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Contributor: William Rea <sillywilly@gmail.com>
# Maintainer: Davorin Učakar <davorin.ucakar@gmail.com>

pkgname=icon-slicer
pkgver=0.3
pkgrel=6
pkgdesc='A utility for generating icon themes and libXcursor cursor themes'
arch=('i686' 'x86_64')
url='http://freedesktop.org/wiki/Software/icon-slicer'
license=('GPL')
depends=('gdk-pixbuf2' 'popt' 'xorg-xcursorgen')
source=("http://freedesktop.org/software/${pkgname}/releases/icon-slicer-${pkgver}.tar.gz"
	'hotspots.patch')
sha1sums=('82284a87061ad9e1872e61963597c39ddcba53da'
	  'b9bf8e11ebc444fbcb3f6995d7e5a649f79d346f')

build() {
	cd "${srcdir}/icon-slicer-${pkgver}"

	patch -p1 -i "${srcdir}/hotspots.patch"
	./configure --prefix=/usr
	make || return 1
}

package() {
	cd "${srcdir}/icon-slicer-${pkgver}"

	make DESTDIR="${pkgdir}" install
}