blob: 03bf15f4596e9862f3f88a663211c9f9c3826f18 (
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
|
# Maintainer: Eric Waller <ewwaller@gmail.com>
pkgname=dup.py
pkgver=1.0.r3.g2b6b18c
pkgrel=6
pkgdesc='Duplicate File manager with multimedia geolocation metadata extensions'
arch=('any')
url='https://github.com/ewwaller/dup.py'
license=('GPL3')
depends=('python' 'sqlite' 'argparser-python')
optdepends=('python-argcomplete' 'python-gobject' 'libgexiv2')
makedepends=('git')
source=("git+${url}.git#commit=${pkgver#*.g}")
md5sums=('SKIP')
pkgver() {
cd "${srcdir}/${pkgname%}"
git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
package() {
cd "${srcdir}/${pkgname}"
install -Dm755 "${pkgname}" "${pkgdir}/usr/bin/${pkgname}"
install -Dm644 dup.1.gz "${pkgdir}/usr/share/man/man1/${pkgname}.1.gz"
}
|