aboutsummaryrefslogtreecommitdiffstats
path: root/community/icoutils/APKBUILD
blob: 6caf7ff489b93d0309978297d47faee67c8c476e (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
30
31
32
# Contributor: TBK <alpine@jjtc.eu>
# Maintainer: TBK <alpine@jjtc.eu>
pkgname=icoutils
pkgver=0.32.3
pkgrel=2
pkgdesc="Extracts and converts images in MS Windows(R) icon and cursor files."
url="https://www.nongnu.org/icoutils/"
arch="all"
license="GPL-3.0-or-later"
options="!check" # No test suite
depends="perl-libwww"
makedepends="libpng-dev"
subpackages="$pkgname-doc"
source="https://download.savannah.gnu.org/releases/icoutils/icoutils-$pkgver.tar.bz2"

prepare() {
	default_prepare
	update_config_guess
}

build() {
	./configure \
		--prefix=/usr \
		--mandir=/usr/share/man
	make
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="982a051a5dc4a63bb2a9f23e78e5a88e481e5c7a9c25789253e1c396e40d4c093e5a9b399966d660e4f2da21ce15d539cb9d20bfd8126b1138f148b86baa6726  icoutils-0.32.3.tar.bz2"