[arch-commits] Commit in (5 files)

Maxime Gauduin alucryd at archlinux.org
Tue Aug 19 16:13:24 UTC 2014


    Date: Tuesday, August 19, 2014 @ 18:13:24
  Author: alucryd
Revision: 117639

Add wit

Added:
  wit/
  wit/trunk/
  wit/trunk/PKGBUILD
  wit/trunk/wit-titles.patch
  wit/trunk/wit.install

------------------+
 PKGBUILD         |   45 +++++++++++++++++++++++++++++++++++++++++++++
 wit-titles.patch |   19 +++++++++++++++++++
 wit.install      |   10 ++++++++++
 3 files changed, 74 insertions(+)

Added: wit/trunk/PKGBUILD
===================================================================
--- wit/trunk/PKGBUILD	                        (rev 0)
+++ wit/trunk/PKGBUILD	2014-08-19 16:13:24 UTC (rev 117639)
@@ -0,0 +1,45 @@
+# $Id$
+# Maintainer: Maxime Gauduin <alucryd at gmail.com>
+# Contributor: Gordin <gordin at koeln.ccc.de>
+
+pkgname=wit
+pkgver=2.29a
+pkgrel=2
+pkgdesc='Wiimms ISO Tools'
+arch=('i686' 'x86_64')
+url='http://wit.wiimm.de'
+license=('GPL2')
+depends=('fuse')
+makedepends=('subversion')
+optdepends=('bash: Update titles lists'
+            'wget: Update titles lists')
+install='wit.install'
+source=('wit::svn+http://opensvn.wiimm.de/wii/trunk/wiimms-iso-tools#revision=5186'
+        'wit-titles.patch')
+sha256sums=('SKIP'
+            'ace3f1245430e9db8962ecb0d4f459ab73bb43f2d5d536a6fac82ad9b34186fa')
+
+prepare() {
+  cd wit
+
+  patch -Np1 -i ../wit-titles.patch
+}
+
+build() {
+  cd wit
+
+  export LDFLAGS="$LDFLAGS,-z,noexecstack"
+
+  make INSTALL_PATH="${pkgdir}/usr" tools
+  make doc
+}
+
+package () {
+  cd wit
+
+  make install
+  install -dm 755 "${pkgdir}"/usr/share/doc/wit
+  install -m 644 doc/*.txt "${pkgdir}"/usr/share/doc/wit/
+}
+
+# vim: ts=2 sw=2 et:


Property changes on: wit/trunk/PKGBUILD
___________________________________________________________________
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property
Added: wit/trunk/wit-titles.patch
===================================================================
--- wit/trunk/wit-titles.patch	                        (rev 0)
+++ wit/trunk/wit-titles.patch	2014-08-19 16:13:24 UTC (rev 117639)
@@ -0,0 +1,19 @@
+diff -rupN wit.orig/setup/load-titles.sh wit/setup/load-titles.sh
+--- wit.orig/setup/load-titles.sh	2014-08-19 17:54:05.351879800 +0200
++++ wit/setup/load-titles.sh	2014-08-19 18:04:14.235375300 +0200
+@@ -30,12 +30,11 @@
+ 
+ NEEDED="wit wget tr"
+ 
+-BASE_PATH="@@INSTALL-PATH@@"
+-SHARE_PATH="@@SHARE-PATH@@"
+-URI_TITLES=@@URI-TITLES@@
++SHARE_PATH="/usr/share/wit"
++URI_TITLES="@@URI-TITLES@@"
+ LANGUAGES="@@LANGUAGES@@"
+ 
+-SHARE_DIR=./share
++SHARE_DIR="/tmp"
+ 
+ #------------------------------------------------------------------------------
+ 


Property changes on: wit/trunk/wit-titles.patch
___________________________________________________________________
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: wit/trunk/wit.install
===================================================================
--- wit/trunk/wit.install	                        (rev 0)
+++ wit/trunk/wit.install	2014-08-19 16:13:24 UTC (rev 117639)
@@ -0,0 +1,10 @@
+post_install() {
+  echo 'WIT comes with a script to automatically update its titles lists. It is'
+  echo 'located in /usr/share/wit/load-titles.sh and needs to be run as root.'
+}
+
+post_upgrade() {
+  post_install
+}
+
+# vim: ts=2 sw=2 et:


Property changes on: wit/trunk/wit.install
___________________________________________________________________
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property



More information about the arch-commits mailing list