Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

tmake: create package()

  • Loading branch information...
commit fb5ffbc498277e2a2a43f5f3e60bf0b51886bce4 1 parent 75b7f0e
@JonnyJD authored
Showing with 16 additions and 9 deletions.
  1. +16 −9 tmake/PKGBUILD
View
25 tmake/PKGBUILD
@@ -2,7 +2,7 @@
# Contributor: Nut543 <kfs1@online.no>
pkgname=tmake
pkgver=2.12
-pkgrel=2
+pkgrel=3
pkgdesc="multiplatform makefile generator in Perl"
arch=('any')
url="http://tmake.sourceforge.net/"
@@ -15,12 +15,19 @@ md5sums=('38dac96177f7c388ac9c1d094db5a5d7'
'47cf355ddbaad762c0581cd039eab576')
build() {
-cd $srcdir
-patch -p0 -N < tmakepath.patch || exit 1
-cd $pkgname-$pkgver
-mkdir -p $pkgdir/usr/lib/$pkgname-$pkgver
-cp -R lib/* $pkgdir/usr/lib/$pkgname-$pkgver/
-cp -R bin $pkgdir/usr/
-mkdir -p $pkgdir/usr/share/licenses/$pkgname
-cp LICENSE $pkgdir/usr/share/licenses/$pkgname/
+ cd $srcdir
+ patch -p0 -N < tmakepath.patch || exit 1
}
+
+package() {
+ cd $srcdir/$pkgname-$pkgver
+
+ mkdir -p $pkgdir/usr/lib/$pkgname-$pkgver
+ cp -R lib/* $pkgdir/usr/lib/$pkgname-$pkgver/
+ cp -R bin $pkgdir/usr/
+
+ mkdir -p $pkgdir/usr/share/licenses/$pkgname
+ cp LICENSE $pkgdir/usr/share/licenses/$pkgname/
+}
+
+# vim:set ts=2 sw=2 et:
Please sign in to comment.
Something went wrong with that request. Please try again.