summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorRecursive G2021-08-24 12:13:44 -0500
committerRecursive G2021-08-24 12:13:44 -0500
commit7860287a658a1936f6ac5dc6c92bf9a30f6ed076 (patch)
tree3dcab8a7604627b13454488b2d144cec52d10389 /PKGBUILD
parent4b10dac7e92c189c385da9eb6fe44990a032c24d (diff)
downloadaur-7860287a658a1936f6ac5dc6c92bf9a30f6ed076.tar.gz
update to github.com/LinearTapeFileSystem/ltfs v2.4.3.1
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD37
1 files changed, 17 insertions, 20 deletions
diff --git a/PKGBUILD b/PKGBUILD
index adb3f2d7f09..321b5661ec9 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,47 +1,44 @@
-# Maintainer: Jonathan Chasteen <jonathan.chasteen@live.com>
+# Maintainer: Recursive G <g.recursive at gmail dot com>
+# Contributor: Jonathan Chasteen <jonathan.chasteen at live dot com>
pkgname=ltfs
-pkgver=2.4.0.2
-_pkgver2=5-00732-10
-_pkgver3=2.4
-pkgrel=2
+pkgver=2.4.3.1
+_pkgver2=10461
+pkgrel=1
pkgdesc='Linear Tape File System'
arch=('x86_64' 'i686')
-url='https://www.quantum.com/ServiceandSupport/OpenSource/LTFS/Index.aspx'
-license=('custom:ltfs')
+url='https://github.com/LinearTapeFileSystem/ltfs'
+license=('BSD')
depends=('fuse' 'icu' 'libxml2')
makedepends=('patch' 'gcc' 'pkg-config' 'make' 'fakeroot' 'net-snmp')
backup=('etc/ltfs.conf.local')
-source=("http://downloads.quantum.com/open_source/LTFS/${pkgver}/${_pkgver2}.zip"
- 'LICENSE')
-sha512sums=('97f6870773f4d8558184ceb8c2e9a437ee35ef3062b1a6c5cb6113fcfb2eeda743e369b65717e0f697c4caf0a215e0883b1118678b2c720647fd47ff6e654314'
- '865c4a581d32d94537ba8d19f2494ba9da54328cd94cf0cffac25b8f446cdeb062172d7598c45ac85477a239b5e5a9b7342a9a4711c54efa7f47b79d89c9d893')
-
-prepare() {
- tar xf `find "${srcdir}" -name '*.tar.gz'`
-}
+source=("https://github.com/LinearTapeFileSystem/ltfs/archive/refs/tags/v${pkgver}-${_pkgver2}.tar.gz")
+sha256sums=('ae39778a47cb09c126fd394c269cbf464f7b43c876ea71a9c880e1159ce87066')
build() {
- cd "${srcdir}/qtmltfs${_pkgver3}"
+ cd "${srcdir}/ltfs-${pkgver}-${_pkgver2}"
+ sed -i '/^AC_CONFIG_MACRO_DIR(\[m4\])$/d' configure.ac
+ sed -i 's,sys/sysctl.h,linux/sysctl.h,' src/libltfs/arch/arch_info.c
./autogen.sh
./configure \
--prefix=/usr \
--sbindir=/usr/bin \
--sysconfdir=/etc \
- --localstatedir=/var
+ --localstatedir=/var \
+ --enable-fast
make
}
package() {
- cd "${srcdir}/qtmltfs${_pkgver3}"
+ cd "${srcdir}/ltfs-${pkgver}-${_pkgver2}"
# Not sure if using the makefile wrong
# sed -i 's:$(sysconfdir)/ltfs.conf.local:$(DESTDIR)$(sysconfdir)/ltfs.conf.local:g' "conf/Makefile"
- sed -i 's:${datarootdir}/ltfs:$(DESTDIR)${datarootdir}/ltfs:g' "init.d/Makefile"
+ # sed -i 's:${datarootdir}/ltfs:$(DESTDIR)${datarootdir}/ltfs:g' "init.d/Makefile"
make DESTDIR="${pkgdir}" install
- install -Dm644 "${srcdir}/LICENSE" "${pkgdir}/usr/share/licenses/ltfs"
+ #install -Dm644 "${srcdir}/LICENSE" "${pkgdir}/usr/share/licenses/ltfs"
# This sysvinit service is not needed because systemd will umount everything on poweroff.
# rm -r "${pkgdir}/usr/share/ltfs"
}