diff options
author | Sebastiaan de Schaetzen | 2020-03-08 21:13:20 +0100 |
---|---|---|
committer | Sebastiaan de Schaetzen | 2020-03-08 21:14:22 +0100 |
commit | bcd62c599df4fcb06deeeec98a9f11a98b1e23c4 (patch) | |
tree | 30dab473313d20c4a29e1d34d202598a48758a26 | |
download | aur-bcd62c599df4fcb06deeeec98a9f11a98b1e23c4.tar.gz |
Initial commit
-rw-r--r-- | .SRCINFO | 19 | ||||
-rw-r--r-- | PKGBUILD | 37 |
2 files changed, 56 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..29197f3ab18f --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,19 @@ +pkgbase = binutils-ia16 + pkgdesc = IA-16 (Intel 16-bit x86) port of GNU Binutils + pkgver = 20190928 + pkgrel = 1 + url = https://github.com/tkchia/binutils-ia16 + arch = x86_64 + license = GPL + checkdepends = dejagnu + checkdepends = bc + depends = glibc + depends = zlib + options = staticlibs + options = !distcc + options = !ccache + source = https://github.com/tkchia/binutils-ia16/archive/binutils-ia16-20190928.tar.gz + md5sums = 3aa191808e034db66e9031a0be1e2c3d + +pkgname = binutils-ia16 + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..50042288c1c2 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,37 @@ +# Maintainer: Sebastiaan de Schaetzen <sebastiaan.de.schaetzen@gmail.com> +pkgname=binutils-ia16 +pkgver=20190928 +pkgrel=1 +epoch= +pkgdesc="IA-16 (Intel 16-bit x86) port of GNU Binutils" +arch=('x86_64') +url="https://github.com/tkchia/binutils-ia16" +license=('GPL') +depends=(glibc zlib) +checkdepends=(dejagnu bc) +options=(staticlibs !distcc !ccache) +source=("https://github.com/tkchia/binutils-ia16/archive/binutils-ia16-$pkgver.tar.gz") +md5sums=('3aa191808e034db66e9031a0be1e2c3d') + +build() { + mkdir -p build-binutils + cd build-binutils + unset CPPFLAGS + ../binutils-ia16-binutils-ia16-$pkgver/configure \ + --prefix=/usr \ + --target=ia16-elf \ + --disable-gdb \ + --disable-libdecnumber \ + --disable-readline \ + --disable-sim \ + --disable-nls \ + --disable-werror + make configure-host + make tooldir=/usr +} + +package() { + cd build-binutils + make DESTDIR="$pkgdir/" install + rm -rf "$pkgdir/usr/share" +} |