summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAditya Mahajan2013-06-15 18:08:53 -0400
committerAditya Mahajan2016-04-02 13:08:46 -0400
commit07ff618e35cac71f28e816af23f4ac74e6371351 (patch)
treefe3b8f1a66bc6ae770fbd376a4fe1d23eceb1bfc
parentbabcf04d592df998cb367ccb58eacf0f28917b8d (diff)
downloadaur-07ff618e35cac71f28e816af23f4ac74e6371351.tar.gz
Explicitly add package() {...}
-rw-r--r--PKGBUILD7
1 files changed, 5 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 06353f41862..6bccc3a005c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,6 +1,6 @@
# Maintainer: Aditya Mahajan <adityam at umich dot edu>
pkgname=context-minimals-git
-pkgver=20120531
+pkgver=20130615
pkgrel=1
pkgdesc="A standalone ConTeXt distribution"
url="http://www.contextgarden.net"
@@ -22,7 +22,7 @@ backup=()
install=context-minimals-git.install
-PKGEXT=".pkg.tar"
+PKGEXT=".pkg.tar.gz"
# ConTeXt minimals uses a different naming convention for architectures
@@ -87,8 +87,11 @@ build() {
fi
ln -s $_texlivefontdir $srcdir/tex/texmf-fonts/fonts
fi
+}
+package()
+{
install -d $pkgdir/opt || return 1
msg "Copying files"
cp -r --preserve=links $srcdir/tex $pkgdir/$_dest || return 1