diff options
author | Joey Dumont | 2021-04-05 20:54:56 -0400 |
---|---|---|
committer | Joey Dumont | 2021-04-05 20:54:56 -0400 |
commit | 1d172339c005ce34b630163d76ea4c00608fc2cb (patch) | |
tree | 3b241c6fae0ed9a25306f1930773b1c8923c112e | |
parent | fbd491a2ada4a9879eec7d1ca7bf886181789938 (diff) | |
download | aur-1d172339c005ce34b630163d76ea4c00608fc2cb.tar.gz |
upgpkg: mips64-elf-gdb 10.1-1
upstream release
Ran shellcheck and shfmt.
-rw-r--r-- | PKGBUILD | 14 |
1 files changed, 7 insertions, 7 deletions
@@ -10,19 +10,19 @@ license=(GPL3) depends=(mpfr gdb-common guile2.0 libelf) makedepends=(texinfo python) options=(!emptydirs) -source=(ftp://ftp.gnu.org/gnu/gdb/gdb-$pkgver.tar.xz) +source=("ftp://ftp.gnu.org/gnu/gdb/gdb-$pkgver.tar.xz") sha256sums=('f82f1eceeec14a3afa2de8d9b0d3c91d5a3820e23e0a01bbb70ef9f0276b62c0') prepare() { - cd "${srcdir}"/gdb-${pkgver} - mkdir "${srcdir}"/build-gdb + cd "${srcdir}/gdb-${pkgver}" + mkdir "${srcdir}/build-gdb" # hack! - libiberty configure tests for header files using "$CPP $CPPFLAGS" sed -i "/ac_cpp=/s/\$CPPFLAGS/\$CPPFLAGS -O2/" libiberty/configure } build() { - cd ${srcdir}/build-gdb + cd "${srcdir}/build-gdb" "${srcdir}"/gdb-${pkgver}/configure --prefix=/usr \ --target=${_target} \ @@ -40,9 +40,9 @@ package() { make DESTDIR="$pkgdir" install # fix conflicts with gdb - rm -r $pkgdir/usr/include/gdb - rm -r $pkgdir/usr/share/info + rm -r "$pkgdir/usr/include/gdb" + rm -r "$pkgdir/usr/share/info" # comes from gdb- - rm -r $pkgdir/usr/share/gdb + rm -r "$pkgdir/usr/share/gdb" } |