diff options
Diffstat (limited to 'libre/pacman/PKGBUILD')
-rw-r--r-- | libre/pacman/PKGBUILD | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/libre/pacman/PKGBUILD b/libre/pacman/PKGBUILD index 62ad57314..3922d1a0b 100644 --- a/libre/pacman/PKGBUILD +++ b/libre/pacman/PKGBUILD @@ -37,7 +37,7 @@ source=(https://sources.archlinux.org/other/pacman/$pkgname-$pkgver.tar.gz{,.sig 0001-Sychronize-filesystem.patch 0002-Revert-close-stdin-before-running-install-scripts.patch 0003-Revert-alpm_run_chroot-always-connect-parent2child-p.patch - makepkg-pkgrel-5.patch) + 0001-makepkg-treat-pkgrel-more-similarly-to-pkgver.patch) md5sums=('377a2664d6007d72d6d8a126add83bcf' 'SKIP' 'f67cafd2e70b5b1231831f454e4ecb90' @@ -50,22 +50,24 @@ md5sums=('377a2664d6007d72d6d8a126add83bcf' '11869a104d0944cc86215098cf5a32bf' 'd4692c3add0b0dab87036edad3f59626' 'fd59d9fb04abadffb937082c288bb10c' - 'da78f246ac281ed949cf97d48f86d994') + '5c01220f49538d37bf1a424af46790d0') validpgpkeys=('6645B0A8C7005E78DB1D7864F99FFE0FEAE999BD') # Allan McRae <allan@archlinux.org> prepare() { cd "$pkgname-$pkgver" + # From Arch Linux patch -p1 -i $srcdir/0001-libmakepkg-fix-is_array-function.patch + # From Arch Linux ARM if [ "${CARCH}" = "armv7h" ]; then patch -p1 -i ../0001-Sychronize-filesystem.patch patch -p1 -i ../0002-Revert-close-stdin-before-running-install-scripts.patch patch -p1 -i ../0003-Revert-alpm_run_chroot-always-connect-parent2child-p.patch fi - # treat pkgrel more similarly to pkgver - patch -p1 -i "$srcdir/makepkg-pkgrel-5.patch" + # From Parabola + patch -p1 -i ../0001-makepkg-treat-pkgrel-more-similarly-to-pkgver.patch } build() { @@ -109,9 +111,9 @@ build() { done } -#check() { -# make -C "$pkgname-$pkgver" check -#} +check() { + make -C "$pkgname-$pkgver" check +} package() { cd "$pkgname-$pkgver" |