summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2011-05-04 15:54:42 -0500
committerDan McGee <dan@archlinux.org>2011-05-04 15:54:42 -0500
commit991bfb7cbfaf68749bfca181fcca9319a73f579e (patch)
tree5739bc34c089ed4835b4bdcf8fc5fe5f4e077fc9 /doc
parent7680f461575b63b592090dbf76c13aa7040b840b (diff)
parent8fd9037cfd8836db7dd35ba0e8825ba86c4e4688 (diff)
downloadpacman-991bfb7cbfaf68749bfca181fcca9319a73f579e.tar.xz
Merge branch 'maint'
Diffstat (limited to 'doc')
-rw-r--r--doc/PKGBUILD-example.txt8
1 files changed, 6 insertions, 2 deletions
diff --git a/doc/PKGBUILD-example.txt b/doc/PKGBUILD-example.txt
index 99fd8c24..238c0f40 100644
--- a/doc/PKGBUILD-example.txt
+++ b/doc/PKGBUILD-example.txt
@@ -13,8 +13,12 @@ source=(ftp://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.gz)
md5sums=('ee5ae84d115f051d87fcaaef3b4ae782')
build() {
- cd $srcdir/$pkgname-$pkgver
+ cd "$srcdir"/$pkgname-$pkgver
./configure --prefix=/usr
make
- make prefix=$pkgdir/usr install
+}
+
+package() {
+ cd "$srcdir"/$pkgname-$pkgver
+ make prefix="$pkgdir"/usr install
}