blob: 26eaaa57b60adee6ce3e29f851fb2dc247d1b1b9 (
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
45
46
47
|
# Maintainer: osch <oliver at luced de>
pkgname=luaexif
pkgver=1.0
pkgrel=1
epoch=
pkgdesc="Lua binding for libexif"
arch=('x86_64')
url="https://github.com/minoki/luaexif"
license=('MIT')
groups=()
depends=('lua'
'libexif')
makedepends=()
checkdepends=()
optdepends=()
provides=()
conflicts=()
replaces=()
backup=()
options=()
install=
changelog=
source=("$pkgname-$pkgver.tar.gz::https://github.com/minoki/$pkgname/archive/v$pkgver.tar.gz")
noextract=()
md5sums=()
validpgpkeys=()
prepare() {
cd "$pkgname-$pkgver"
}
build() {
cd "$pkgname-$pkgver"
make CFLAGS="-fPIC `pkg-config --cflags lua` `pkg-config --cflag libexif`" \
LDFLAGS="-shared `pkg-config --libs lua` `pkg-config --libs libexif`"
}
package() {
cd "$pkgname-$pkgver"
install -d "$pkgdir`pkg-config --variable=INSTALL_CMOD lua`"
install exif.so "$pkgdir`pkg-config --variable=INSTALL_CMOD lua`/exif.so"
install -d "$pkgdir/usr/share/licenses/$pkgname"
install -m644 COPYRIGHT "$pkgdir/usr/share/licenses/$pkgname"
}
md5sums=('69b7b411634f6f5b91dd297f96e98ec7')
|