summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohannes Frankenau2016-01-07 21:48:05 +0100
committerJohannes Frankenau2016-01-07 21:48:05 +0100
commit6f0405378e074d1725690c0aa235c1461005deed (patch)
tree6cceb6a841b31ef1f056bb8156e1ad24f23696c3
downloadaur-6f0405378e074d1725690c0aa235c1461005deed.tar.gz
Initial import
-rw-r--r--.SRCINFO23
-rw-r--r--.gitignore6
-rw-r--r--PKGBUILD44
3 files changed, 73 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..9ba497e5985
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,23 @@
+# Generated by mksrcinfo v8
+# Thu Jan 7 20:47:18 UTC 2016
+pkgbase = xdg-utils-no-open
+ pkgdesc = Command line tools that assist applications with a variety of desktop integration tasks
+ pkgver = 1.1.1
+ pkgrel = 1
+ url = http://www.freedesktop.org/wiki/Software/xdg-utils/
+ arch = any
+ license = MIT
+ makedepends = docbook-xsl
+ makedepends = lynx
+ makedepends = xmlto
+ makedepends = git
+ depends = sh
+ depends = xorg-xset
+ optdepends = linopen: for xdg-open support
+ source = http://portland.freedesktop.org/download/xdg-utils-1.1.1.tar.gz
+ source = http://portland.freedesktop.org/download/xdg-utils-1.1.1.tar.gz.asc
+ md5sums = 2d0aec6037769a5f138ff404b1bb4b15
+ md5sums = SKIP
+
+pkgname = xdg-utils-no-open
+
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..49447878f3e
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,6 @@
+pkg
+src
+*.tar.gz
+*.tar.gz.asc
+*.pkg.tar
+*.pkg.tar.gz
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..6370a14c650
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,44 @@
+pkgname=xdg-utils-no-open
+_pkgname=xdg-utils
+pkgver=1.1.1
+pkgrel=1
+pkgdesc="Command line tools that assist applications with a variety of desktop integration tasks"
+arch=('any')
+url="http://www.freedesktop.org/wiki/Software/xdg-utils/"
+license=('MIT')
+depends=('sh' 'xorg-xset') # xset needed inside xdg-screensaver
+makedepends=('docbook-xsl' 'lynx' 'xmlto' 'git')
+optdepends=('linopen: for xdg-open support')
+source=(http://portland.freedesktop.org/download/$_pkgname-$pkgver.tar.gz{,.asc})
+md5sums=('2d0aec6037769a5f138ff404b1bb4b15'
+ 'SKIP')
+validpgpkeys=('8B75CA7811367175D05F3B03C43570F80CC295E6') # "Per Olofsson <pelle@pqz.se>"
+
+# Set this 1 to conflict with xdg-utils so you can
+# go without xdg-open for whatever reason
+PROVIDE_XDG_OPEN=0
+
+if [ $PROVIDE_XDG_OPEN -eq 1 ]; then
+ provides=('xdg-utils')
+ conflicts=('xdg-utils')
+fi
+
+prepare(){
+ cd $_pkgname-$pkgver/scripts
+ sed -i -e '20 h' -e '20 d' -e '23 c \ xdg-settings\n# xdg-open' Makefile.in
+}
+
+build() {
+ cd $_pkgname-$pkgver
+ ./configure --prefix=/usr --mandir=/usr/share/man
+ make
+}
+
+package() {
+ cd $_pkgname-$pkgver
+ make DESTDIR="${pkgdir}" install
+ install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+
+ # install empty directory to prevent xdg-desktop-menu install *.desktop to fail, see FS#33316
+ install -dm755 $pkgdir/usr/share/desktop-directories
+}