Skip to content

Commit

Permalink
changed PKGBUILD template
Browse files Browse the repository at this point in the history
  • Loading branch information
smoge committed Feb 6, 2011
1 parent 7faf781 commit 8e94c17
Showing 1 changed file with 20 additions and 3 deletions.
23 changes: 20 additions & 3 deletions pkgbuild-mode.el
Original file line number Diff line number Diff line change
Expand Up @@ -120,23 +120,40 @@ pkgname=%s
pkgver=VERSION
pkgrel=1
pkgdesc=\"\"
arch=('i686' 'x86_64')
url=\"\"
arch=('i686')
license=('GPL')
groups=()
depends=()
makedepends=()
optdepends=()
provides=()
conflicts=()
replaces=()
backup=()
options=()
install=
changelog=
source=($pkgname-$pkgver.tar.gz)
noextract=()
md5sums=()
build() {
cd $startdir/src/$pkgname-$pkgver
./configure --prefix=/usr
make || return 1
make
}
package() {
cd $startdir/src/$pkgname-$pkgver
make DESTDIR=$startdir/pkg install
}"
}
# vim:set ts=2 sw=2 et:
"
"Template for new PKGBUILDs"
:type 'string
:group 'pkgbuild)
Expand Down

0 comments on commit 8e94c17

Please sign in to comment.