summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: f13747ff1e51a2c79fa922df562b3ce4ef85eae4 (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
25
26
27
28
# Contributor: Pierre Schmitz <pierre@archlinux.de>
# Maintainer:Stefan Husmann <stefan-husmann@t-online.de>

pkgname=w3watch-links
_pkgname=w3watch
pkgver=1.0.3
pkgrel=2
pkgdesc='Watch the web and get notified on updates with a patch to use links instead of lynx'
arch=('any')
url='https://git.archlinux.de/w3watch.git/'
license=('GPL')
depends=('bash' 'links' 'awk' 'diffutils' 'coreutils' 'grep')
provides=('w3watch')
conflicts=('w3watch')
source=("w3watch-$pkgver.tar.gz::https://github.com/pierres/w3watch/archive/1.0.3.tar.gz"
         links.diff)
md5sums=('cd20b1402f25e0eec3a8e096b906cfb5'
         '85c0ff5477592450f954a0c8ec7a5bd0')

prepare() {
  cd ${srcdir}/${_pkgname}-${pkgver}
  patch  < $srcdir/links.diff
}

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