summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorJonathan Chasteen2019-04-08 08:53:38 -0400
committerJonathan Chasteen2019-04-08 08:53:38 -0400
commit927c18439ee74d168dc7a19434c3c2fd08feefb5 (patch)
treed35f45fbacce7a849a44a15930e5dfa63744f593 /PKGBUILD
parenteed8262a2dd2d9e2678ef2af5d9edbf889943db3 (diff)
downloadaur-927c18439ee74d168dc7a19434c3c2fd08feefb5.tar.gz
Update to version 2.4.0.2 - some changes to package() needed to build, left old commands for the time being
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD25
1 files changed, 13 insertions, 12 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 1a0808670fd..723dea26fc4 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,19 +1,20 @@
-# Maintainer: Janne Heß <jannehess@gmail.com>
+# Maintainer: Jonathan Chasteen <jonathan.chasteen@live.com>
pkgname=ltfs
-pkgver=2.2.2
-_pkgver2=5-00732-09
-pkgrel=2
+pkgver=2.4.0.2
+_pkgver2=5-00732-10
+_pkgver3=2.4
+pkgrel=1
pkgdesc='Linear Tape File System'
arch=('x86_64' 'i686')
url='http://www.quantum.com/products/tapedrives/ltoultrium/lto-5/ltfs/index.aspx'
license=('custom:ltfs')
depends=('fuse' 'icu' 'libxml2')
-makedepends=('patch' 'gcc' 'pkg-config' 'make' 'fakeroot')
+makedepends=('patch' 'gcc' 'pkg-config' 'make' 'fakeroot' 'net-snmp')
backup=('etc/ltfs.conf.local')
-source=("http://downloads.quantum.com/open_source/LTFS/${pkgver}-${pkgrel}/${_pkgver2}.zip"
+source=("http://downloads.quantum.com/open_source/LTFS/${pkgver}/${_pkgver2}.zip"
'LICENSE')
-sha512sums=('c7b430e8f4b05ea0d29fb344d1e8ebf0bb7d85511233e80d6f2d2a585579c05d632ada5edff23da3f6b451ad5a75f4ae49c81ecd78c0349832cdd49ba8943cf4'
+sha512sums=('97f6870773f4d8558184ceb8c2e9a437ee35ef3062b1a6c5cb6113fcfb2eeda743e369b65717e0f697c4caf0a215e0883b1118678b2c720647fd47ff6e654314'
'865c4a581d32d94537ba8d19f2494ba9da54328cd94cf0cffac25b8f446cdeb062172d7598c45ac85477a239b5e5a9b7342a9a4711c54efa7f47b79d89c9d893')
prepare() {
@@ -21,8 +22,8 @@ prepare() {
}
build() {
- cd "${srcdir}/qtmltfs"
-
+ cd "${srcdir}/qtmltfs${_pkgver3}"
+ ./autogen.sh
./configure \
--prefix=/usr \
--sbindir=/usr/bin \
@@ -33,14 +34,14 @@ build() {
}
package() {
- cd "${srcdir}/qtmltfs"
+ cd "${srcdir}/qtmltfs${_pkgver3}"
# 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:$(sysconfdir)/ltfs.conf.local:$(DESTDIR)$(sysconfdir)/ltfs.conf.local:g' "conf/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"
# This sysvinit service is not needed because systemd will umount everything on poweroff.
- rm -r "${pkgdir}/usr/share/ltfs"
+ # rm -r "${pkgdir}/usr/share/ltfs"
}