diff options
-rw-r--r-- | libre/libretools/PKGBUILD | 7 | ||||
-rw-r--r-- | libre/libretools/librefetch-pkgext.patch | 12 |
2 files changed, 17 insertions, 2 deletions
diff --git a/libre/libretools/PKGBUILD b/libre/libretools/PKGBUILD index df0983279..ec1224550 100644 --- a/libre/libretools/PKGBUILD +++ b/libre/libretools/PKGBUILD @@ -12,11 +12,13 @@ license=('GPL3' 'GPL2') pkgver=20220118 source=(https://repo.parabola.nu/other/$pkgname/$pkgname-$pkgver.tar.gz{,.sig} 0001-libremakepkg-rw-startdir.patch - 0002-libremakepkg-pacman_5_2.patch) + 0002-libremakepkg-pacman_5_2.patch + librefetch-pkgext.patch) sha256sums=('033fe25cd972296b7fc8b5c05ef048fac296194a3b24e4cf6459544616ada49c' 'SKIP' '19ed0fd21c9c789dd336b63b22094c45363b6ac5d7d1ab0eecd852d7f00d1883' - '8986adf14a81b979b2ff4c4e3e76483115c146782e4ba30640649299f98355df') + '8986adf14a81b979b2ff4c4e3e76483115c146782e4ba30640649299f98355df' + 'SKIP') validpgpkeys=('99195DD3BB6FE10A2F36ED8445698744D4FFBFC9' # Luke Shumaker 'BFA8008A8265677063B11BF47171986E4B745536') # Andreas Grapentin @@ -36,6 +38,7 @@ prepare() { cd "$srcdir/$pkgbase-$pkgver" patch -N -p1 -i $srcdir/0001-libremakepkg-rw-startdir.patch patch -N -p1 -i $srcdir/0002-libremakepkg-pacman_5_2.patch + patch -N -p1 -i $srcdir/librefetch-pkgext.patch } build() { diff --git a/libre/libretools/librefetch-pkgext.patch b/libre/libretools/librefetch-pkgext.patch new file mode 100644 index 000000000..9fede99a5 --- /dev/null +++ b/libre/libretools/librefetch-pkgext.patch @@ -0,0 +1,12 @@ +Index: libretools-20220118/src/librefetch/librefetch +=================================================================== +--- libretools-20220118.orig/src/librefetch/librefetch ++++ libretools-20220118/src/librefetch/librefetch +@@ -221,7 +221,6 @@ doit() { + mv -f "$base_dst" "$dst" + fi + else +- export PKGEXT=${base_dst##*/} + export PKGDEST=${dst%/*} + export pkg_file=$dst + |