diff options
author | Michal Wojdyla | 2021-05-15 20:52:18 +0200 |
---|---|---|
committer | Michal Wojdyla | 2021-05-15 20:52:18 +0200 |
commit | b739d524e5532b513e32f106279f592dfbd36200 (patch) | |
tree | 57c11c3a2f7283a84c384124abbfafe3e3e031e9 /PKGBUILD | |
parent | 987f321d2d262d7aa81005521e08c103d6579579 (diff) | |
download | aur-b739d524e5532b513e32f106279f592dfbd36200.tar.gz |
https
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -7,7 +7,7 @@ arch=('i686' 'x86_64') url="http://cccc.sourceforge.net/" depends=('gcc-libs') license=('GPL') -source=(http://downloads.sourceforge.net/sourceforge/cccc/$pkgname-$pkgver.tar.gz +source=(https://downloads.sourceforge.net/sourceforge/cccc/$pkgname-$pkgver.tar.gz gcc47.patch) md5sums=('7bd3ad868913a0beab2fde931737f928' 'e1d2cb39fcac3f3c14eaff4f1e8f2825') @@ -17,12 +17,12 @@ build() { sed -e 's/su root -c "make -f install.mak"/make -f install.mak/' \ -e 's/all : pccts cccc test install/all : pccts cccc test/' \ - -i makefile || return 1 + -i makefile sed -e 's:/usr/local/bin:'$pkgdir'/usr/bin:' \ - -e 's/\$(MKDIR)/\$(MKDIR) -p/' -i install/install.mak || return 1 + -e 's/\$(MKDIR)/\$(MKDIR) -p/' -i install/install.mak patch -p1 < ../gcc47.patch - make -j 1 || return 1 + make -j 1 } package() { |