Skip to content

Instantly share code, notes, and snippets.

@s-kostyuk
Last active April 1, 2016 08:33
Show Gist options
  • Save s-kostyuk/a4b0f3561479b86e83fd to your computer and use it in GitHub Desktop.
Save s-kostyuk/a4b0f3561479b86e83fd to your computer and use it in GitHub Desktop.
# Maintainer: Sergey Kostyuk <ks.hot.ua@gmail.com>
pkgname=keeweb
pkgver=1.0.4
pkgrel=1
pkgdesc="A cloud server to store your files centrally on a hardware controlled by you"
arch=('any')
url="https://github.com/antelle/keeweb"
license=('MIT')
depends=('')
optdepends=("nginx: as a web server" "apache2: as a web server")
makedepends=()
options=('!strip')
source=('keeweb::git+https://github.com/antelle/keeweb.git#branch=gh-pages' 'https://raw.githubusercontent.com/antelle/keeweb/master/MIT-LICENSE.txt')
md5sums=('SKIP' 'a6b1b64c98ab698b1f836c3b91f620f8')
package() {
# install license
install -d $pkgdir/usr/share/licenses/$pkgname
cp $srcdir/MIT-LICENSE.txt $pkgdir/usr/share/licenses/$pkgname
# install project
install -d $pkgdir/usr/share/webapps/$pkgname/
cp -a $srcdir/$pkgname/* $pkgdir/usr/share/webapps/$pkgname/
chown -R http:http $pkgdir/usr/share/webapps/*
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment