summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 97f8732dcf837749df5c8f51db3e2532da2e423c (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
# Contributor: sekret <sekret at posteo dot se>
# Contributor: Lex Black <autumn-wind at web dot de>
# Contributor: rabyte <rabyte__gmail>

pkgname=curlmirror
pkgver=20150310
pkgrel=3
pkgdesc="Mirrors a web site by using curl to download each page"
arch=('any')
url="https://github.com/cudeso/tools/blob/master/curlmirror.txt"
# linked from http://curl.haxx.se/docs/programs.html
license=('GPL2')
depends=('curl' 'perl')
makedepends=('dos2unix')
source=(https://github.com/cudeso/tools/raw/master/${pkgname}.txt)
md5sums=('14c8928d727e08d023a6325e0ec5af3f')


prepare() {
  dos2unix -n "${pkgname}"{.txt,}
}

package() {
  install -Dm755 "${pkgname}" -t "$pkgdir/usr/bin/"
}

# vim:set ts=2 sw=2 et: