Permalink
Browse files

add PKGBUILD template

  • Loading branch information...
1 parent 515f80f commit 1c03c4d8c740713813d79ae73476d7cac2912be8 @badboy committed Apr 12, 2010
Showing with 32 additions and 0 deletions.
  1. +32 −0 PKGBUILD.proto
View
@@ -0,0 +1,32 @@
+# Maintainer: Jan-Erik Rediger <badboy at archlinux dot us>
+
+pkgname=NAME
+pkgver=VERSION
+pkgrel=1
+pkgdesc=""
+arch=()
+url=""
+license=('GPL')
+groups=()
+depends=()
+makedepends=()
+optdepends=()
+provides=()
+conflicts=()
+replaces=()
+backup=()
+options=()
+install=
+source=($pkgname-$pkgver.tar.gz)
+noextract=()
+md5sums=() #generate with 'makepkg -g'
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ ./configure --prefix=/usr
+ make || return 1
+ make DESTDIR="$pkgdir/" install
+}
+
+# vim:set ts=2 sw=2 et:

0 comments on commit 1c03c4d

Please sign in to comment.