diff options
-rw-r--r-- | .SRCINFO | 18 | ||||
-rw-r--r-- | PKGBUILD | 28 |
2 files changed, 46 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..80baff3473f2 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,18 @@ +# Generated by makepkg 4.2.0 +# Thu Jan 29 22:57:29 UTC 2015 +pkgbase = lighttpd-debian-scripts + pkgdesc = The extra scripts contained in the Debian release of lighttpd. Includes create-mime.assign.pl, include-conf-enabled.pl, and use-ipv6.pl. + pkgver = 1.4.35.4 + pkgrel = 1 + epoch = 1 + url = http://anonscm.debian.org/cgit/pkg-lighttpd/lighttpd.git + arch = x86_64 + arch = i686 + license = custom + depends = lighttpd + depends = perl + source = git://anonscm.debian.org/pkg-lighttpd/lighttpd.git + md5sums = SKIP + +pkgname = lighttpd-debian-scripts + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..e850ea3b5704 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,28 @@ +# Maintainer: Eric Toombs <ewtoombsatuwaterloodotca> +pkgname='lighttpd-debian-scripts' +epoch=1 +pkgver=1.4.35.4 +pkgrel=1 +pkgdesc='The extra scripts contained in the Debian release of lighttpd. Includes create-mime.assign.pl, include-conf-enabled.pl, and use-ipv6.pl.' +url="http://anonscm.debian.org/cgit/pkg-lighttpd/lighttpd.git" +arch=('x86_64' 'i686') +license=('custom') +depends=('lighttpd' 'perl') +source=('git://anonscm.debian.org/pkg-lighttpd/lighttpd.git') +md5sums=('SKIP') + +pkgver() { + cd "$srcdir/lighttpd" + git describe --tags --abbrev=12 | sed -e 's;debian/;;' -e 's/-/./g' +} + +package() { + cd "$srcdir/lighttpd/debian" + _dest= + install -Dm755 "create-mime.assign.pl" \ + "include-conf-enabled.pl" \ + "use-ipv6.pl" \ + -t "$pkgdir/usr/share/lighttpd" +} + +# vi:ts=2 sw=2 et |