summaryrefslogtreecommitdiffstats
path: root/PKGBUILD.proto
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2010-04-27 20:08:09 +0200
committerDan McGee <dan@archlinux.org>2010-04-27 20:08:09 +0200
commit8a6bbed98e11be3f619ef31e9e753d31081d11ee (patch)
treead4841c50ca3eea82574d4089a8f54f6af3ec702 /PKGBUILD.proto
parent90aca75cb92c12419f2998cf54caa8ef5fe59f99 (diff)
downloadpacman-8a6bbed98e11be3f619ef31e9e753d31081d11ee.tar.gz
pacman-8a6bbed98e11be3f619ef31e9e753d31081d11ee.tar.xz
Update PKGBUILD.proto to include a package() function
Relevant after we deprecated `makepkg -R` without a package() function being present in the PKGBUILD. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'PKGBUILD.proto')
-rw-r--r--PKGBUILD.proto3
1 files changed, 3 insertions, 0 deletions
diff --git a/PKGBUILD.proto b/PKGBUILD.proto
index 93da0fc5..7e361142 100644
--- a/PKGBUILD.proto
+++ b/PKGBUILD.proto
@@ -31,6 +31,9 @@ build() {
./configure --prefix=/usr
make || return 1
+}
+
+package() {
make DESTDIR="$pkgdir/" install
}