blob: caf64395d065eb9caa191fdaf480b3100f7df3b9 (
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: Doridian <archlinux@doridian.net>
pkgname=ltfs-git
pkgver=2.4.3.0.10450.r125.gadb3722
pkgrel=1
pkgdesc='Linear Tape File System'
arch=('x86_64' 'i686')
url='https://github.com/LinearTapeFileSystem/ltfs'
license=('BSD')
depends=('fuse' 'icu' 'libxml2' 'net-snmp' 'python-pyxattr')
makedepends=('patch' 'gcc' 'pkg-config' 'make' 'fakeroot' 'autoconf' 'automake' 'libtool' 'git')
backup=('etc/ltfs.conf.local')
source=("$pkgname::git+${url}.git")
sha256sums=('SKIP')
pkgver() {
cd "$pkgname"
git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
cd "${srcdir}/${pkgname}"
./autogen.sh
LDFLAGS="${LDFLAGS-} -licuuc -licui18n" ./configure \
--prefix=/usr \
--sbindir=/usr/bin \
--sysconfdir=/etc \
--localstatedir=/var \
--enable-fast
make
}
package() {
cd "${srcdir}/${pkgname}"
make DESTDIR="${pkgdir}" install
}
|