summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 5f89a81bcf9fae62481568a8847eb6fdb568308e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Maintainer: Simon Legner <Simon.Legner@gmail.com>
pkgname=wiggle
pkgver=1.3
pkgrel=1
pkgdesc="A program for applying patches that patch cannot apply because of conflicting changes"
arch=('i686' 'x86_64')
depends=('ncurses')
url="https://github.com/neilbrown/wiggle"
license=('GPL2')
source=($pkgname-$pkgver.tar.gz::https://github.com/neilbrown/$pkgname/archive/v$pkgver.tar.gz)

build() {
  cd "$srcdir/$pkgname-$pkgver"
  # Building with -Wall -Werror fails. Respect CFLAGS from /etc/makepkg.conf
  sed -i -r 's/^CFLAGS=.*/CFLAGS+=-I. /' Makefile
  make
}

package() {
  cd "$srcdir/$pkgname-$pkgver"
  make DESTDIR="$pkgdir/" install
}

sha256sums=('ff92cf0133c1f4dce33563e263cb30e7ddb6f4abdf86d427b1ec1490bec25afa')