diff options
-rw-r--r-- | .SRCINFO | 14 | ||||
-rw-r--r-- | PKGBUILD | 22 |
2 files changed, 36 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..c61ed6826d0b --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,14 @@ +pkgbase = scale2x + pkgdesc = Bitmap scaling algorithm that improves the resolution of a PNG + pkgver = 3.1 + pkgrel = 1 + url = http://scale2x.sourceforge.net/ + arch = i686 + arch = x86_64 + license = GPL + depends = libpng>=1.4 + source = http://downloads.sourceforge.net/sourceforge/scale2x/scale2x-3.1.tar.gz + md5sums = a1c6d2bda4360d13432e60b6e6ecbb5a + +pkgname = scale2x + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..56da24d76f6d --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,22 @@ +# Contributor: ConnorBehan <connor.behan@gmail.com> +pkgname=scale2x +pkgver=3.1 +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=(http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.gz) + +build() { + cd "$srcdir"/${pkgname}-${pkgver} + ./configure --prefix=/usr + make +} + +package() { + cd "$srcdir"/${pkgname}-${pkgver} + make prefix="$pkgdir"/usr install +} +md5sums=('a1c6d2bda4360d13432e60b6e6ecbb5a') |