summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Sun2019-09-09 09:41:51 -0400
committerAndrew Sun2019-09-09 09:41:51 -0400
commit86af2c9931e75cbd9105596b35dc4f6888d1cdcf (patch)
treedbcc6d24b8046737a6b9192fa911ab96acc669ea
parent90376292342955a62be4ed9219823430a1fd251a (diff)
downloadaur-86af2c9931e75cbd9105596b35dc4f6888d1cdcf.tar.gz
libhugetlbfs: update to 2.22
-rw-r--r--.SRCINFO12
-rw-r--r--PKGBUILD25
2 files changed, 18 insertions, 19 deletions
diff --git a/.SRCINFO b/.SRCINFO
index d993f4e9db6..03773660253 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,15 +1,15 @@
pkgbase = libhugetlbfs
- pkgdesc = interacts with the Linux hugetlbfs to make large pages available to applications in a transparent manner.
- pkgver = 2.21
+ pkgdesc = A library which provides easy access to huge pages of memory
+ pkgver = 2.22
pkgrel = 1
url = https://github.com/libhugetlbfs/libhugetlbfs
arch = i686
arch = x86_64
- license = GPL
- checkdepends = python2
+ license = LGPL2.1
+ checkdepends = python
depends = perl
- source = https://github.com/libhugetlbfs/libhugetlbfs/releases/download/2.21/libhugetlbfs-2.21.tar.gz
- sha1sums = 8ed79a12d07be1e858ef4e0148ab1f4115094ef6
+ source = https://github.com/libhugetlbfs/libhugetlbfs/releases/download/2.22/libhugetlbfs-2.22.tar.gz
+ sha256sums = 94dca9ea2c527cd77bf28904094fe4708865a85122d416bfccc8f4b73b9a6785
pkgname = libhugetlbfs
diff --git a/PKGBUILD b/PKGBUILD
index 789d614d882..e3149af3a05 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,19 +1,19 @@
-# Maintainer: Andrew Sun <adsun701@gmail.com>
-# Contributor: Philipp Classen <philipp.classen@posteo.de>
+# Maintainer: Andrew Sun <adsun701 at gmail dot com>
+# Contributor: Philipp Classen <philipp dot classen at posteo dot de>
# Original maintainer: Anatol Pomozov <anatol dot pomozov at gmail>
# Contributor: Jose Neder <jlneder(at)gmail(dot)com>
pkgname=libhugetlbfs
-pkgver=2.21
+pkgver=2.22
pkgrel=1
-pkgdesc='interacts with the Linux hugetlbfs to make large pages available to applications in a transparent manner.'
+pkgdesc='A library which provides easy access to huge pages of memory'
url='https://github.com/libhugetlbfs/libhugetlbfs'
arch=(i686 x86_64)
depends=(perl)
-checkdepends=(python2)
-license=(GPL)
+checkdepends=(python)
+license=(LGPL2.1)
source=(https://github.com/libhugetlbfs/libhugetlbfs/releases/download/$pkgver/libhugetlbfs-$pkgver.tar.gz)
-sha1sums=('8ed79a12d07be1e858ef4e0148ab1f4115094ef6')
+sha256sums=('94dca9ea2c527cd77bf28904094fe4708865a85122d416bfccc8f4b73b9a6785')
_options='BUILDTYPE=NATIVEONLY'
if [ "$CARCH" = "x86_64" ]; then
@@ -23,22 +23,21 @@ else
fi
prepare() {
- cd libhugetlbfs-$pkgver
+ cd $srcdir/libhugetlbfs-$pkgver
sed 's|/lib64/perl5/TLBC|/lib/perl5/TLBC|g;s|/lib/perl5/TLBC|/lib/perl5/vendor_perl/TLBC|g' -i Makefile
- sed 's|/usr/bin/env python|/usr/bin/env python2|g' -i tests/run_tests.py
}
build() {
- cd libhugetlbfs-$pkgver
- make $_options
+ cd $srcdir/libhugetlbfs-$pkgver
+ make $_options PREFIX=/usr
}
check() {
- cd libhugetlbfs-$pkgver
+ cd $srcdir/libhugetlbfs-$pkgver
make $_options check
}
package() {
- cd libhugetlbfs-$pkgver
+ cd $srcdir/libhugetlbfs-$pkgver
make DESTDIR="$pkgdir" PREFIX=/usr install $_options
}