# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>

pkgname=freedesktop-docs
pkgver=20181113
pkgrel=1
pkgdesc="Specifications from freedesktop.org"
arch=('any')
url="http://standards.freedesktop.org"
license=('GPL')
options=('docs')
source=(https://specifications.freedesktop.org/autostart-spec/autostart-spec-latest.html
	https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html
	https://specifications.freedesktop.org/clipboard-extensions-spec/clipboard-extensions-latest.txt
	https://specifications.freedesktop.org/clipboards-spec/clipboards-latest.txt
	https://specifications.freedesktop.org/desktop-entry-spec/desktop-entry-spec-latest.html
	https://specifications.freedesktop.org/icon-naming-spec/icon-naming-spec-latest.html
	https://specifications.freedesktop.org/icon-theme-spec/icon-theme-spec-latest.html
	https://specifications.freedesktop.org/menu-spec/menu-spec-latest.html
	https://specifications.freedesktop.org/mime-apps-spec/mime-apps-spec-latest.html
	https://specifications.freedesktop.org/recent-file-spec/recent-file-spec-latest.xml
	https://specifications.freedesktop.org/shared-mime-info-spec/shared-mime-info-spec-latest.html
	https://specifications.freedesktop.org/startup-notification-spec/startup-notification-latest.txt
	https://specifications.freedesktop.org/systemtray-spec/systemtray-spec-latest.html
	https://specifications.freedesktop.org/thumbnail-spec/thumbnail-spec-latest.html
	https://specifications.freedesktop.org/trash-spec/trashspec-latest.html
	https://specifications.freedesktop.org/wm-spec/wm-spec-latest.html
	https://specifications.freedesktop.org/xembed-spec/xembed-spec-latest.xml
	https://specifications.freedesktop.org/xsettings-spec/xsettings-latest.html)
sha256sums=('6fc3e06d434708c03d16f18bde84676e3529b2e93ca1b6003e659b3f5ed1e2e0'
            '342289ad33b48b8f643278f74cafa182f4471d490b82dc5e442e2e720fa4080f'
            'add8dc513aef482eb6d7103f9485924f47846b844244962dd36e343959ccbd3a'
            'dea39499dfa4b9500c1a81e6f634e7afbdbeff6dd950afa3c89f66c32d9a8d21'
            '88372a2316373ae680149021637240e77e41dec0fe644d529eda4d2b270c7758'
            'ae5d1d9d03f157e420c5eed6e8b6b1b6f391e469ee3b6ee3db0e820bce2d484a'
            'dba6629adc93d4bbf6f7bcf4a5ffe120836a8a540c07776bbf0784f39b354a71'
            'd6de6f97da17bd648d4be84b621f246c5963a3b388f4d0d57528c23beb294ba2'
            '761ac154da4db51f6917a54e5e8be0efb996a7abbd265cf8d0877a1ecd5995c6'
            '7ffa245dcf80eceb06b3a26f39bf2c90e2c10c4611c1672942a9f9d999dc429c'
            '2f29e9c916bc7233c4148d43f2ba8e96807236a59673a027232fcd367af61ad4'
            'e9dc125ba422998ce786cfc8336f93df6ef34d1a2672febd8c56f65985b404ef'
            '2ca2e2de7c34645d5e800e697e2ea9de40acfe89c5d5331dc70a9ac464e7a2f7'
            '40beab99053509f8695bc8b1d7055f67f0e757e300f783b57835f3fb5c53f045'
            'c5a753daec25c74712a6ad1884c1eb36308c4d8cb74831277610a9d11274394d'
            '839b308e3901d598581b4a4b2804a2d5ca222b0d290d8668ab4f8a08794fe2f3'
            '0fc7bfd96b3f1a79b965047d8de3404277b96eb939c92ae46a0482f5db4622d8'
            '431b4d29d69915ede73346129a291f1922d7780f01ec95632ed54767659d9cf0')

package() {
  cd "$srcdir"/
  mkdir -p "$pkgdir"/usr/share/doc/freedesktop.org
  cp -L * "$pkgdir"/usr/share/doc/freedesktop.org/
}
