summaryrefslogtreecommitdiffstats
path: root/abs/core/xorg-docs
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core/xorg-docs')
-rw-r--r--abs/core/xorg-docs/PKGBUILD28
1 files changed, 28 insertions, 0 deletions
diff --git a/abs/core/xorg-docs/PKGBUILD b/abs/core/xorg-docs/PKGBUILD
new file mode 100644
index 0000000..94c8fc5
--- /dev/null
+++ b/abs/core/xorg-docs/PKGBUILD
@@ -0,0 +1,28 @@
+# $Id: PKGBUILD 160907 2012-06-06 16:56:36Z andyrtr $
+# Maintainer: Jan de Groot <jgc@archlinux.org>
+
+pkgname=xorg-docs
+pkgver=1.7
+pkgrel=1
+pkgdesc="X.org documentations"
+arch=(any)
+url="http://xorg.freedesktop.org/"
+license=('custom')
+depends=('man-db')
+groups=('xorg')
+source=(${url}/archive/individual/doc/${pkgname}-${pkgver}.tar.bz2)
+sha256sums=('b9b1918bd365e9eb29c325e76bb8c4d774d37be707e433fb0af94da35683375f')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+ install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
+ cd "${pkgdir}/usr/share/licenses/${pkgname}"
+ ln -vsf /usr/share/doc/xorg-docs/License.xml .
+}