[arch-commits] Commit in tomoyo-tools/trunk (PKGBUILD)
Sergej Pupykin
spupykin at nymeria.archlinux.org
Wed Jun 5 10:32:22 UTC 2013
Date: Wednesday, June 5, 2013 @ 12:32:22
Author: spupykin
Revision: 92434
upgpkg: tomoyo-tools 2.5.0.20130214-4
upd
Modified:
tomoyo-tools/trunk/PKGBUILD
----------+
PKGBUILD | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2013-06-05 10:32:14 UTC (rev 92433)
+++ PKGBUILD 2013-06-05 10:32:22 UTC (rev 92434)
@@ -7,7 +7,7 @@
_timestamp=20130214
_file=53357
pkgver=${_basever}.${_timestamp}
-pkgrel=3
+pkgrel=4
pkgdesc='TOMOYO Linux userspace tools for Linux kernels >=3.2'
arch=('i686' 'x86_64')
url='http://tomoyo.sourceforge.jp'
@@ -19,6 +19,14 @@
source=("http://sourceforge.jp/frs/redir.php?f=/tomoyo/${_file}/${pkgname}-${_basever}-${_timestamp}.tar.gz")
md5sums=('ffff6b531ed9ac32b01722a9cd749a2f')
+prepare() {
+ cd "${srcdir}/${pkgname}"
+ sed -i \
+ -e 's|usr/sbin|usr/bin|g' \
+ -e 's|sbin|usr/bin|g' \
+ usr_lib_tomoyo/init_policy.c
+}
+
build() {
cd "${srcdir}/${pkgname}"
make USRSBINDIR=/usr/bin SBINDIR=/usr/bin
More information about the arch-commits
mailing list