diff options
author | Swaelens Jonathan | 2015-05-10 08:59:31 +0200 |
---|---|---|
committer | Swaelens Jonathan | 2015-05-10 08:59:31 +0200 |
commit | bf32137ac289e66b8a3394d4fceaf4bab8f9d1ea (patch) | |
tree | e30c0bdc630e8a40a507a3d8fa25f701039fd9be | |
download | aur-bf32137ac289e66b8a3394d4fceaf4bab8f9d1ea.tar.gz |
Initial import
-rw-r--r-- | .SRCINFO | 13 | ||||
-rw-r--r-- | PKGBUILD | 19 | ||||
-rw-r--r-- | javascript-common.install | 13 |
3 files changed, 45 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..88a5f4cc2388 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,13 @@ +pkgbase = javascript-common + pkgdesc = Group javascript libraries in /usr/share/javascript/ + pkgver = 1.0 + pkgrel = 4 + url = http://www.invalid.invalid + install = javascript-common.install + arch = any + license = GPL + source = javascript-common.conf::http://git.fusiondirectory.org/gitweb/?p=packaging/archlinux.git;a=blob_plain;f=scripts/javascript-common/javascript-common.conf;hb=refs/heads/master + md5sums = f9b66751e66c39bb23269d0251a76242 + +pkgname = javascript-common + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..642cc20eadf7 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,19 @@ +# Maintainer: K1412 <jonathan@opensides.be> +pkgname=javascript-common +pkgver=1.0 +pkgrel=4 +pkgdesc="Group javascript libraries in /usr/share/javascript/" +arch=('any') +install=${pkgname}.install +license=('GPL') +url='http://www.invalid.invalid' + +source=('javascript-common.conf::http://git.fusiondirectory.org/gitweb/?p=packaging/archlinux.git;a=blob_plain;f=scripts/javascript-common/javascript-common.conf;hb=refs/heads/master') +md5sums=('f9b66751e66c39bb23269d0251a76242') + +package() { + mkdir -p ${pkgdir}/usr/share/javascript/ + + mkdir -p ${pkgdir}/etc/httpd/conf/extra/ + cp $srcdir/${pkgname}.conf $pkgdir/etc/httpd/conf/extra/httpd-${pkgname}.conf +} diff --git a/javascript-common.install b/javascript-common.install new file mode 100644 index 000000000000..29c536db88d6 --- /dev/null +++ b/javascript-common.install @@ -0,0 +1,13 @@ +post_install() { + echo '' + echo 'Add this line in your /etc/httpd/conf/httpd.conf' + echo 'Include conf/extra/httpd-javascript-common.conf' +} + +post_remove() { + echo '---------------------------------------------------------------------------' + echo 'Remove this line in your /etc/httpd/conf/httpd.conf :' + echo 'Include conf/extra/httpd-javascript-common.conf' + echo 'Remove /etc/httpd/conf/extra/httpd-javascript-common.conf if you will' + echo '---------------------------------------------------------------------------' +} |