blob: 1afbff1151f73bf9ff043898ea8d2af7f876f3fe (
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
28
|
# Maintainer: Florian Bruhin (The Compiler) <archlinux.org@the-compiler.org>
pkgname=stikked
pkgver=0.14.0
pkgrel=1
pkgdesc="An advanced and beautiful pastebin written in PHP"
arch=('any')
url="https://github.com/claudehohl/Stikked"
license=('GPL')
depends=('php')
conflicts=('stikked-git')
backup=('etc/webapps/stikked/stikked.php')
install=$pkgname.install
source=("stikked-$pkgver.zip::https://github.com/claudehohl/Stikked/zipball/$pkgver")
sha1sums=('2e4c3d6a12657f4298d40674a0fb179e077e6160')
package() {
cd "$srcdir"/claudehohl-Stikked-*/htdocs
mkdir -p "$pkgdir/usr/share/webapps/Stikked" "$pkgdir/etc/webapps/stikked"
cp -ra * .htaccess "$pkgdir/usr/share/webapps/Stikked"
mv "$pkgdir/usr/share/webapps/Stikked/application/config/stikked.php.dist" \
"$pkgdir/etc/webapps/stikked/stikked.php"
ln -s "/etc/webapps/stikked/stikked.php" \
"$pkgdir/usr/share/webapps/Stikked/application/config/stikked.php"
}
# vim:set ts=2 sw=2 ft=sh et:
|