summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: af7f96a42e8481e156f322cb51baefcaf2c9ad40 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Contributor: ConnorBehan <connor.behan@gmail.com>
pkgname=scale2x
pkgver=4.0
pkgrel=1
pkgdesc="Bitmap scaling algorithm that improves the resolution of a PNG"
arch=(i686 x86_64)
url="http://scale2x.sourceforge.net/"
license=('GPL')
depends=('libpng>=1.4')
source=(https://github.com/amadvance/$pkgname/releases/download/v$pkgver/$pkgname-$pkgver.tar.gz)

build() {
  cd "$srcdir"/${pkgname}-${pkgver}
  ./configure --prefix=/usr
  make
}

package() {
  cd "$srcdir"/${pkgname}-${pkgver}
  make prefix="$pkgdir"/usr install
}

sha256sums=('996f2673206c73fb57f0f5d0e094d3774f595f7e7e80fcca8cc045e8b4ba6d32')