blob: 6d9c9853e595f2921595d49e76935bc403a711d4 (
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
44
|
# Maintainer: Chocobo1 <chocobo1 AT archlinux DOT net>
pkgname=libexif-git
pkgver=0.6.24.r35.g1ce27bb
pkgrel=1
pkgdesc="A library for parsing, editing and saving EXIF data"
arch=('i686' 'x86_64')
url="https://libexif.github.io/"
license=('LGPL')
depends=('glibc')
makedepends=('git')
provides=("libexif=$pkgver" 'libexif.so')
conflicts=('libexif')
options=('staticlibs')
source=("git+https://github.com/libexif/libexif.git")
sha256sums=('SKIP')
pkgver() {
cd "libexif"
git describe --long --tags | sed 's/^libexif-//;s/-release//;s/\([^-]*-g\)/r\1/;s/[-_]/./g'
}
build() {
cd "libexif"
autoreconf -fi
./configure \
--prefix="/usr"
make
}
check() {
cd "libexif"
make check
}
package() {
cd "libexif"
make DESTDIR="$pkgdir" install
}
|