summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDarks2021-05-11 23:48:01 +0200
committerDarks2021-05-11 23:48:01 +0200
commit0ca099ea32ab9a81bb9f5bf8bc40d7f8d54a0c97 (patch)
treeb39f05e409e1a8856e81f07327f0578752154cfc
parentce8d47c08932d5676c568b1c51160aa76b6b06c1 (diff)
downloadaur-0ca099ea32ab9a81bb9f5bf8bc40d7f8d54a0c97.tar.gz
Updated maintainer information + small fixes
-rw-r--r--.SRCINFO5
-rw-r--r--PKGBUILD24
2 files changed, 12 insertions, 17 deletions
diff --git a/.SRCINFO b/.SRCINFO
index dc0a8a245c7..c3c758a310a 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,16 +1,17 @@
pkgbase = sh-elf-binutils-casio
pkgdesc = GNU binary utilities for the Casio calculators SuperH processors.
pkgver = 2.36.1
- pkgrel = 2
+ pkgrel = 3
url = https://www.gnu.org/software/binutils/
arch = i686
arch = x86_64
license = GPL
+ makedepends = gcc
depends = binutils
depends = flex
depends = zlib
options = !libtool
- options = !buildflags
+ options = !emptydirs
source = https://ftp.gnu.org/gnu/binutils/binutils-2.36.1.tar.bz2
sha256sums = 5b4bd2e79e30ce8db0abd76dd2c2eae14a94ce212cfc59d3c37d23e24bc6d7a3
diff --git a/PKGBUILD b/PKGBUILD
index 2879d7a322f..4f1517c6df9 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,16 +1,16 @@
-# Maintainer: Darks <l.gatin@protonmail.com>
-
-_target=sh-elf
+# Maintainer: Eldeberen <eldeberen.aur@middleearth.fr>
+_target="sh-elf"
pkgname=${_target}-binutils-casio
pkgver=2.36.1
-pkgrel=2
+pkgrel=3
pkgdesc="GNU binary utilities for the Casio calculators SuperH processors."
-arch=(i686 x86_64)
-options=('!libtool' '!buildflags')
+arch=('i686' 'x86_64')
url='https://www.gnu.org/software/binutils/'
-license=(GPL)
+license=('GPL')
depends=('binutils' 'flex' 'zlib')
-source=(https://ftp.gnu.org/gnu/binutils/binutils-${pkgver}.tar.bz2)
+makedepends=('gcc')
+options=('!libtool' '!emptydirs')
+source=("https://ftp.gnu.org/gnu/binutils/binutils-${pkgver}.tar.bz2")
sha256sums=('5b4bd2e79e30ce8db0abd76dd2c2eae14a94ce212cfc59d3c37d23e24bc6d7a3')
prepare() {
@@ -22,10 +22,6 @@ prepare() {
}
build() {
- export CFLAGS="-O2 -pipe -s -fomit-frame-pointer -ffunction-sections -fdata-sections"
- export CXXFLAGS=$CFLAGS
- export LDFLAGS="-Wl,--gc-sections"
-
cd "${srcdir}/binutils-${pkgver}/binutils-build"
../configure \
--prefix=/usr \
@@ -49,7 +45,5 @@ package() {
rm -rf "${pkgdir}/usr/share/info"
# Remove libraries that conflict with host version
- rm "$pkgdir"/usr/lib/bfd-plugins/libdep.so
- rmdir "$pkgdir"/usr/lib/bfd-plugins
- rmdir "$pkgdir"/usr/lib
+ rm -rf "${pkgdir}/usr/lib"
}