blob: fa46d03b21697dc20e35f35a65641d7f0311af1d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
# Maintainer: Colin Reeder <vpzomtrrfrt@gmail.com>
_pkgname=badpng
pkgname=$_pkgname-hg
source=("hg+https://bitbucket.org/runhello/badpng")
md5sums=('SKIP')
pkgdesc="Tool incorrectly re-encodes a PNG."
arch=('x86_64' 'i686')
pkgrel=1
pkgver=r7.06e4ea7a42b3
makedepends=('mercurial')
pkgver() {
cd "$_pkgname"
printf "r%s.%s" "$(hg identify -n)" "$(hg identify -i)"
}
package() {
cd "$_pkgname"
make
install -dm 755 "$pkgdir"/usr/bin
install -m 755 ./badpng "$pkgdir"/usr/bin
}
|