summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 0b54c3468be63971b1b5bf6f2d8a913d68eec971 (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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# Maintainer: Engine Feeder <enginefeeder101@gmail.com>
# Contributor: Andreas Krist <group@amok.am>
# Contributor: Xi0N <grayfox.i0n@gmail.com>

pkgname=amok-exif-sorter
pkgver=2.81
pkgrel=1
pkgdesc="AmoK Exif Sorter is the easy but powerful solution for renaming your photos using EXIF data"
arch=('x86_64')
url="http://www.amok.am/en/freeware/amok_exif_sorter/" 
license=('custom')
depends=('java-runtime')

source=("http://www.amok.am/files/releases/AmoK_Exif_Sorter_v${pkgver}_(Linux_64Bit).tar.bz2"
	"amok-exif-sorter.desktop"
	"amok-exif-sorter.ico"
	"amok-exif-sorter")

md5sums=('c7a7d6731cca7c90fbe1c94445107c7f'
	 '234329004eb631c32c6789dcad08704c'
	 '43d8104af166aefe26016ff011af0f37'
	 'aa5894fe7f60a2cd8f9b157776c72e3b')

package() {
	# Install application
	install -Dm755 $pkgname "$pkgdir/usr/bin/$pkgname"
	install -Dm644 -t "$pkgdir/usr/share/java/$pkgname" lib/*.jar exifsorter.jar

	# Install application file
	install -Dm755 $pkgname.desktop "$pkgdir/usr/share/applications/$pkgname.desktop"

	# Install icon
	install -Dm644 $pkgname.ico "$pkgdir/usr/share/$pkgname/$pkgname.ico"

	# Install license
	install -Dm644 licenses/exifsorter_license_english.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE"

	# Install other licenses
	install -Dm644 -t "$pkgdir/usr/share/$pkgname/licenses" licenses/*

	# Install documentation
	install -Dm644 -t "$pkgdir/usr/share/$pkgname/doc" doc/*
}