1
0
mirror of https://github.com/lammertb/libhttp.git synced 2025-08-17 22:21:06 +03:00

Updated PKGBUILD to use new Arch distribution files

This commit is contained in:
Daniel Oaks
2013-08-20 21:01:07 +10:00
committed by Thomas Davis
parent b3b554367c
commit c64ea6370a

View File

@@ -2,8 +2,8 @@
# Rename to PKGBUILD to build via makepkg
_pkgname=civetweb
pkgname=$_pkgname-git
pkgver=20130819
pkgrel=3
pkgver=20130820
pkgrel=1
pkgdesc="Small and quick-to-use web server; https/php/cgi support; MIT license - git development version"
arch=('i686' 'x86_64')
url="http://sourceforge.net/p/civetweb/"
@@ -15,10 +15,8 @@ optdepends=('php-cgi: for php support')
provides=("$_pkgname")
conflicts=("$_pkgname")
backup=("etc/$_pkgname/$_pkgname.conf")
source=("$_pkgname::git+git://git.code.sf.net/p/civetweb/code" "$_pkgname.conf" "$_pkgname.service")
md5sums=('SKIP'
'b713489175c282f2c2a298ca21c789dd'
'04882a60dcd33a2b4b254abb090b8c13')
source=("$_pkgname::git+https://github.com/sunsetbrew/civetweb.git")
md5sums=('SKIP')
#pkgver() {
# cd "$srcdir/$_pkgname"
@@ -32,8 +30,8 @@ build() {
package() {
install -Dm755 "$srcdir/$_pkgname/$_pkgname" "$pkgdir/usr/bin/$_pkgname"
install -Dm644 "$srcdir/$_pkgname/dist/arch/$_pkgname.conf" "$pkgdir/etc/$_pkgname/$_pkgname.conf"
install -Dm644 "$srcdir/$_pkgname/dist/arch/$_pkgname.service" "$pkgdir/usr/lib/systemd/system/$_pkgname.service"
install -Dm644 "$srcdir/$_pkgname/distribution/arch/$_pkgname.conf" "$pkgdir/etc/$_pkgname/$_pkgname.conf"
install -Dm644 "$srcdir/$_pkgname/distribution/arch/$_pkgname.service" "$pkgdir/usr/lib/systemd/system/$_pkgname.service"
install -d "$pkgdir/usr/share/$_pkgname"
install -m644 "$srcdir/$_pkgname/UserManual.md" "$srcdir/$_pkgname/README.md" "$pkgdir/usr/share/$_pkgname"
}