diff options
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 12 |
2 files changed, 12 insertions, 4 deletions
@@ -1,7 +1,7 @@ pkgbase = alex4 pkgdesc = Help Alex the Allegator rescue Lola before the humans make a pair of shoes out of her! pkgver = 1.2.1 - pkgrel = 1 + pkgrel = 2 url = http://allegator.sourceforge.net install = alex4.install arch = i686 @@ -10,7 +10,9 @@ pkgbase = alex4 depends = aldumb depends = allegro4 source = alex4-1.2.1.tar.gz::https://github.com/carstene1ns/alex4/archive/1.2.1.tar.gz + source = alex4-gcc10.patch::https://github.com/carstene1ns/alex4/commit/249b013ddb40e54dab1389fcdeb73fb52fd3c2fb.patch sha256sums = f0bdb6f23c858628de8c74b6625d51eccf6b927ecb21744a25dd58d6e02c4c5f + sha256sums = 48a106a33551143c1dfbb0f1e97473171a6d59e49fadf01ecaf2b94956de1e1e pkgname = alex4 @@ -3,15 +3,21 @@ pkgname=alex4 pkgver=1.2.1 -pkgrel=1 +pkgrel=2 pkgdesc="Help Alex the Allegator rescue Lola before the humans make a pair of shoes out of her!" url="http://allegator.sourceforge.net" arch=('i686' 'x86_64') license=('GPL2') depends=('aldumb' 'allegro4') install=$pkgname.install -source=($pkgname-$pkgver.tar.gz::"https://github.com/carstene1ns/alex4/archive/$pkgver.tar.gz") -sha256sums=('f0bdb6f23c858628de8c74b6625d51eccf6b927ecb21744a25dd58d6e02c4c5f') +source=($pkgname-$pkgver.tar.gz::"https://github.com/carstene1ns/alex4/archive/$pkgver.tar.gz" + $pkgname-gcc10.patch::https://github.com/carstene1ns/alex4/commit/249b013ddb40e54dab1389fcdeb73fb52fd3c2fb.patch) +sha256sums=('f0bdb6f23c858628de8c74b6625d51eccf6b927ecb21744a25dd58d6e02c4c5f' + '48a106a33551143c1dfbb0f1e97473171a6d59e49fadf01ecaf2b94956de1e1e') + +prepare() { + patch -d $pkgname-$pkgver -Np1 < $pkgname-gcc10.patch +} build() { make -C $pkgname-$pkgver PREFIX=/usr |