diff options
author | Sébastien Leduc | 2015-08-02 18:28:23 +0200 |
---|---|---|
committer | Sébastien Leduc | 2015-08-02 18:28:23 +0200 |
commit | b00cb7ed8d9d57595dd4ddbb0935649fc5b3f370 (patch) | |
tree | 5b760dc309e51a040bc2172d57d8f5ffce37f214 | |
download | aur-b00cb7ed8d9d57595dd4ddbb0935649fc5b3f370.tar.gz |
Initial commit for gitlist package (from AUR3)
-rw-r--r-- | .SRCINFO | 19 | ||||
-rw-r--r-- | PKGBUILD | 27 | ||||
-rw-r--r-- | gitlist.install | 5 |
3 files changed, 51 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..eacadd8d7435 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,19 @@ +pkgbase = gitlist + pkgdesc = An elegant and modern git repository viewer. + pkgver = 0.5.0 + pkgrel = 1 + url = http://gitlist.org/ + install = gitlist.install + arch = any + license = BSD + depends = git + depends = php + optdepends = apache: Web server to run GitList + optdepends = lighttpd: Web server to run GitList + optdepends = nginx: Lightweight Web server to run GitList + options = emptydirs + source = https://s3.amazonaws.com/gitlist/gitlist-0.5.0.tar.gz + sha1sums = eeda77db8f769f0480577d33b600982aeba5bdbc + +pkgname = gitlist + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..2e997e18a7a8 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,27 @@ +pkgname=gitlist +pkgver=0.5.0 +pkgrel=1 +pkgdesc="An elegant and modern git repository viewer." +arch=('any') +url="http://gitlist.org/" +license=('BSD') + +depends=('git' 'php') +optdepends=('apache: Web server to run GitList' + 'lighttpd: Web server to run GitList' + 'nginx: Lightweight Web server to run GitList') + +options=('emptydirs') +install=$pkgname.install +source=(https://s3.amazonaws.com/gitlist/gitlist-$pkgver.tar.gz) +sha1sums=('eeda77db8f769f0480577d33b600982aeba5bdbc') + +package() { + local dstdir="$pkgdir"/usr/share/webapps + install -d "$dstdir" + cp -a "$srcdir"/gitlist "$dstdir"/gitlist + mkdir "$dstdir"/gitlist/cache + chmod 777 "$dstdir"/gitlist/cache + install -Dm644 gitlist/LICENSE.txt "$pkgdir"/usr/share/licenses/gitlist/LICENSE +} + diff --git a/gitlist.install b/gitlist.install new file mode 100644 index 000000000000..4ea16f4303ef --- /dev/null +++ b/gitlist.install @@ -0,0 +1,5 @@ +post_install() { + echo "==> See https://github.com/klaussilveira/gitlist/" + echo "==> for instructions about configuring GitList." +} + |