daily pastebin goal
45%
SHARE
TWEET

tkrat Pkgfile

timcowchip Apr 6th, 2013 67 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # Description: A very mighty, graphical emailclient
  2. # URL: http://www.tkrat.org/
  3. # Packager: Chris Farrell, timcowchip at gmail dot com
  4. # Maintainer: Chris Farrell, timcowchip at gmail dot com
  5. # Depends on: tk, tcl, openssl, linux-pam
  6.  
  7. name=tkrat
  8. version=2.2
  9. release=1
  10. source=(http://download.opensuse.org/factory/repo/src-oss/suse/src/tkrat-2.2-67.11.src.rpm)
  11.  
  12. build() {
  13.   cd $SRC
  14.   bsdtar -p -o -xf tkrat-2.2-20100721.tar.bz2  
  15.   split -l 19 tkrat-load.patch tkrat-load.patch
  16.   cat tkrat-load.patchaa > tkrat-lib.patch
  17.   cat tkrat-load.patchab tkrat-load.patchac > tkrat-util.patch
  18.   patch tkrat/tkrat/Makefile.in -i tkrat.patch
  19.   patch tkrat/lib/Makefile.in -p 1 -i tkrat-lib.patch
  20.   patch tkrat/util/Makefile.in -p 1 -i tkrat-util.patch
  21.   patch tkrat/lib/ratCode.c -i tkrat-warnings.patch
  22.   cd $name
  23.     ./configure --prefix=/usr \
  24.     --with-install-prefix=$PKG
  25.   make -i
  26.   make DESTDIR=$PKG install
  27. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top