Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

add PKGBUILD template

  • Loading branch information...
commit 1c03c4d8c740713813d79ae73476d7cac2912be8 1 parent 515f80f
Jan-Erik Rediger authored April 12, 2010

Showing 1 changed file with 32 additions and 0 deletions. Show diff stats Hide diff stats

  1. 32  PKGBUILD.proto
32  PKGBUILD.proto
... ...
@@ -0,0 +1,32 @@
  1
+# Maintainer: Jan-Erik Rediger <badboy at archlinux dot us>
  2
+
  3
+pkgname=NAME
  4
+pkgver=VERSION
  5
+pkgrel=1
  6
+pkgdesc=""
  7
+arch=()
  8
+url=""
  9
+license=('GPL')
  10
+groups=()
  11
+depends=()
  12
+makedepends=()
  13
+optdepends=()
  14
+provides=()
  15
+conflicts=()
  16
+replaces=()
  17
+backup=()
  18
+options=()
  19
+install=
  20
+source=($pkgname-$pkgver.tar.gz)
  21
+noextract=()
  22
+md5sums=() #generate with 'makepkg -g'
  23
+
  24
+build() {
  25
+  cd "$srcdir/$pkgname-$pkgver"
  26
+
  27
+  ./configure --prefix=/usr
  28
+  make || return 1
  29
+  make DESTDIR="$pkgdir/" install
  30
+}
  31
+
  32
+# vim:set ts=2 sw=2 et:

0 notes on commit 1c03c4d

Please sign in to comment.
Something went wrong with that request. Please try again.