diff options
author | Dan McGee <dan@archlinux.org> | 2011-05-04 22:54:42 +0200 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-05-04 22:54:42 +0200 |
commit | 991bfb7cbfaf68749bfca181fcca9319a73f579e (patch) | |
tree | 5739bc34c089ed4835b4bdcf8fc5fe5f4e077fc9 /doc/PKGBUILD-example.txt | |
parent | 7680f461575b63b592090dbf76c13aa7040b840b (diff) | |
parent | 8fd9037cfd8836db7dd35ba0e8825ba86c4e4688 (diff) | |
download | pacman-991bfb7cbfaf68749bfca181fcca9319a73f579e.tar.gz pacman-991bfb7cbfaf68749bfca181fcca9319a73f579e.tar.xz |
Merge branch 'maint'
Diffstat (limited to 'doc/PKGBUILD-example.txt')
-rw-r--r-- | doc/PKGBUILD-example.txt | 8 |
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 } |