summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 21ab86e964173f96fe3501307712e81c8dbf80c2 (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
# Maintainer: mrxx <mrxx at cyberhome dot at>
# Contributor: Valère Monseur <valere dot monseur at ymail dot com>
# Contributor: Johan "Slikkie" van der Slikke <johan@slikkie.nl>

pkgname=gexif
pkgver=0.5
pkgrel=5
pkgdesc='View and edit the EXIF tags contained in JPG and TIFF files'
arch=('i686' 'x86_64')
url='https://libexif.github.io'
license=('GPL')
depends=('libexif-gtk')
makedepends=('git')
source=("git+https://github.com/libexif/$pkgname.git"
        "gexif.desktop")
md5sums=('SKIP'
         'c717c9f555d17eabb0dd63d35f0bb5d9')

build() {
  cd "${srcdir}/${pkgname}"

  mv po/Makevars.template savefile
  autoreconf -if
  mv savefile po/Makevars.template
  ./configure --prefix=/usr
  make
}

package() {
  cd "${srcdir}/${pkgname}"

  make DESTDIR="${pkgdir}" install
  install -D -m644 "${srcdir}"/$pkgname.desktop "${pkgdir}"/usr/share/applications/$pkgname.desktop
  install -D -m644 COPYING "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}