summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: ceba33858a7c10a6197d7927698188687eaa9dad (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
# Maintainer: Nicolas F. <aur@fratti.ch>
pkgname="pngnq-s9"
pkgver=2.0.2
pkgrel=1
arch=('i686' 'x86_64' 'ARM')
pkgdesc="Modified version of pngnq, neural network colour quantizer for PNG images"
url="https://sourceforge.net/projects/pngnqs9/"
conflicts=('pngnq')
depends=('libpng')
license=('custom')
source=("https://downloads.sourceforge.net/sourceforge/pngnqs9/pngnq-s9-${pkgver}.tar.gz")
sha256sums=('8767dec663f9c8223e8bfad5439f3456bf5037bc702c9b1e783380fae63b4367')

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

package() {
    
    cd "$pkgname-$pkgver"
    
    install -D -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
    make DESTDIR="$pkgdir/" install
}