summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 55ee0ddbd9b9e85de5c7e4d233d175e5184c975a (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
# Maintainer: PolpOnline <aur at t0mmy dot anonaddy dot com>
# Contributor:  Dimitris Kiziridis <ragouel at outlook dot com>

pkgname=exifcleaner-bin
pkgver=3.6.0
pkgrel=1
pkgdesc="Desktop app to clean metadata from images, videos, PDFs, and other files."
arch=('x86_64')
url="https://exifcleaner.com"
license=('MIT')

depends=(
  'nss'
  'gtk3'
  'perl'
)
provides=('exifcleaner')

source=(
  "${pkgname}-${pkgver}.deb::https://github.com/szTheory/exifcleaner/releases/download/v${pkgver}/exifcleaner_${pkgver}_amd64.deb"
  'LICENSE::https://github.com/szTheory/exifcleaner/raw/master/LICENSE'
)
sha512sums=(
  # For the `.deb` file
  '7416bbb800b9decb7dad931e75ea7636ecd0a98f6677c17b4b854363c547b46876df3155ea4ed37bfd91d09cb8ed4384caab75293d0d31f438def6093b43efcf'
  # For the `LICENSE` file
  '40505bfe313ac2630ff38bfb2e60ef71c73e23a6733d895e7af298074588d4a3831e11d38242af433cdffd0ac1ac66faeb5035894e4c87761f9fffc09fb501e2'
)

package() {
  tar xvf "${srcdir}/data.tar.xz" -C "${pkgdir}/"
  install -Dm644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
  install -d "${pkgdir}/usr/bin/"
  ln -s /opt/ExifCleaner/exifcleaner "${pkgdir}/usr/bin/exifcleaner"
  # cd "${pkgdir}/usr/share/icons/hicolor/"
  # mv 0x0 512x512
}