mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 02:22:13 +08:00
23 lines
662 B
Bash
23 lines
662 B
Bash
pkgname=optipng
|
|
pkgver=0.7.6
|
|
pkgrel=1
|
|
pkgdesc='A PNG optimizer that losslessly recompresses image files.'
|
|
arch=('x86_64')
|
|
url='http://optipng.sourceforge.net/'
|
|
license=('ZLIB')
|
|
depends=('glibc')
|
|
source=("http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.gz")
|
|
sha256sums=('4870631fcbd3825605f00a168b8debf44ea1cda8ef98a73e5411eee97199be80')
|
|
|
|
build() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
./configure --prefix=/usr
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
make prefix="${pkgdir}/usr" mandir="${pkgdir}/usr/share/man" install
|
|
install -D -m644 LICENSE.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
|
|
}
|