blob: 3a371d94ab1cd4a616060a0823f5d2afa1a6f8d6 (
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
|
# Maintainer: Nathan Osman <nathan@quickmediasolutions.com>
pkgname=esev-git
_pkgname=esev
pkgver=r8.bd1758b
pkgrel=1
pkgdesc="Extremely simple EXIF viewer"
arch=('i686' 'x86_64')
license=('MIT')
url='https://github.com/nathan-osman/esev'
depends=('qt5-base' 'libexif')
makedepends=('cmake' 'git')
conflicts=('esev')
provides=('esev')
source=("$pkgname::git+https://github.com/nathan-osman/esev.git")
sha256sums=('SKIP')
pkgver() {
cd "$srcdir/$pkgname"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
prepare() {
cd "$srcdir/$pkgname"
mkdir build
}
build() {
cd "$srcdir/$pkgname/build"
cmake \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
..
make
}
package() {
cd "$srcdir/$pkgname/build"
make DESTDIR="$pkgdir" install
}
|