diff options
author | Matthias Riegler | 2017-09-07 15:22:37 +0200 |
---|---|---|
committer | Matthias Riegler | 2017-09-07 15:22:37 +0200 |
commit | cb9d7b39879e99ee32b2d74a9d26fb42e35c9a07 (patch) | |
tree | d5391afa644e956fb5366e5d90dd1323b79ec08f | |
download | aur-cb9d7b39879e99ee32b2d74a9d26fb42e35c9a07.tar.gz |
libutil-linux for AARCH64 toolchain
-rw-r--r-- | .SRCINFO | 21 | ||||
-rw-r--r-- | PKGBUILD | 36 |
2 files changed, 57 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..0b453e24442e --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,21 @@ +pkgbase = libutil-linux-aarch64 + pkgdesc = Miscellaneous system utilities for Linux + pkgver = 2.30.1 + pkgrel = 2 + url = https://www.kernel.org/pub/linux/utils/util-linux/ + arch = i686 + arch = x86_64 + license = GPL2 + makedepends = systemd + makedepends = python + makedepends = libcap-ng + options = strip + options = debug + source = https://www.kernel.org/pub/linux/utils/util-linux/v2.30/util-linux-2.30.1.tar.xz + source = https://www.kernel.org/pub/linux/utils/util-linux/v2.30/util-linux-2.30.1.tar.sign + validpgpkeys = B0C64D14301CC6EFAEDF60E4E4B71D5EEC39C284 + md5sums = 5e5ec141e775efe36f640e62f3f8cd0d + md5sums = SKIP + +pkgname = libutil-linux-aarch64 + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..3598c5f8708f --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,36 @@ +# Maintainer: Matthias Riegler <matthias@xvzf.tech> + +pkgname=libutil-linux-aarch64 +_pkgmajor=2.30 +pkgver=${_pkgmajor}.1 +pkgrel=2 +pkgdesc="Miscellaneous system utilities for Linux" +url="https://www.kernel.org/pub/linux/utils/util-linux/" +arch=('i686' 'x86_64') +makedepends=('systemd' 'python' 'libcap-ng') +license=('GPL2') +options=('strip' 'debug') +validpgpkeys=('B0C64D14301CC6EFAEDF60E4E4B71D5EEC39C284') # Karel Zak +source=("https://www.kernel.org/pub/linux/utils/util-linux/v2.30/util-linux-2.30.1.tar."{xz,sign}) +md5sums=('5e5ec141e775efe36f640e62f3f8cd0d' + 'SKIP') + +build() { + cd "util-linux-2.30.1" + export CROSS=aarch64-linux-gnu + export CC=${CROSS}-gcc + export LD=${CROSS}-ld + export AS=${CROSS}-as + export CXX=${CROSS}-g++ + export CFLAGS="" # Needed for cross compiling! + + ./configure --host=aarch64-linux-gnu --prefix=/usr/aarch64-linux-gnu + + + make col +} + +package(){ + + make -C "util-linux-2.30.1" DESTDIR="$pkgdir" install-usrlib_execLTLIBRARIES +} |