summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 4cda3084e6b030bcd74bac01b7f965cd779b0e38 (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
28
29
# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
# Contributor: Christoph Zeiler <rabyte*gmail>

pkgname=picturesort
pkgver=0.3
pkgrel=1
pkgdesc="Sorts pictures on how they look, not by their metadata"
arch=('i686' 'x86_64')
url="http://www.vanheusden.com/$pkgname/"
license=('GPL')
depends=('fftw' 'gcc-libs' 'imagemagick')
source=(http://www.vanheusden.com/$pkgname/$pkgname-$pkgver.tgz)
md5sums=('1d98b7a81ee2f94b4cf0ab70d3f35df6')

build() {
  cd $pkgname-$pkgver

  sed	-e 's|-O2||g' \
	-e 's|Graphics||g' \
	-i Makefile

  make
}

package() {
  cd $pkgname-$pkgver

  install -Dm755 $pkgname "${pkgdir}"/usr/bin/$pkgname
}