summaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2008-01-06 10:23:49 -0600
committerDan McGee <dan@archlinux.org>2008-01-06 10:23:49 -0600
commitd53388fb90ee9594e07b8f00cc45436e6318c972 (patch)
tree0c1f025fd7adaec0f787adca3393ef3a9ba51451 /contrib
parente0e33c329ff249d7862a0e7ec508794faa98efd8 (diff)
downloadpacman-d53388fb90ee9594e07b8f00cc45436e6318c972.tar.xz
install: install prototype PKGBUILD and install to datadir
Move the prototypes out of contrib/ and into the top level directory, and install them to what is usually /usr/share/pacman/ on a package install. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'contrib')
-rw-r--r--contrib/Makefile.am2
-rw-r--r--contrib/PKGBUILD.proto35
-rw-r--r--contrib/README3
-rw-r--r--contrib/proto.install36
4 files changed, 0 insertions, 76 deletions
diff --git a/contrib/Makefile.am b/contrib/Makefile.am
index 2e088691..9f01e187 100644
--- a/contrib/Makefile.am
+++ b/contrib/Makefile.am
@@ -1,10 +1,8 @@
EXTRA_DIST = \
- PKGBUILD.proto \
PKGBUILD.vim \
bash_completion \
pacdiff \
pacsearch \
- proto.install \
re-pacman \
vimproject \
wget-xdelta.sh \
diff --git a/contrib/PKGBUILD.proto b/contrib/PKGBUILD.proto
deleted file mode 100644
index 9e4b69a0..00000000
--- a/contrib/PKGBUILD.proto
+++ /dev/null
@@ -1,35 +0,0 @@
-# This is an example PKGBUILD file. Use this as a start to creating your own,
-# and remove these comments. For more information, see 'man PKGBUILD'.
-# NOTE: Please fill out the license field for your package! If it is unknown,
-# then please put 'unknown'.
-
-# Contributor: Your Name <youremail@domain.com>
-pkgname=NAME
-pkgver=VERSION
-pkgrel=1
-pkgdesc=""
-arch=()
-url=""
-license=('GPL')
-groups=()
-depends=()
-makedepends=()
-provides=()
-conflicts=()
-replaces=()
-backup=()
-options=()
-install=
-source=($pkgname-$pkgver.tar.gz)
-noextract=()
-md5sums=() #generate with 'makepkg -g'
-
-build() {
- cd "$srcdir/$pkgname-$pkgver"
-
- ./configure --prefix=/usr
- make || return 1
- make DESTDIR="$pkgdir" install
-}
-
-# vim:set ts=2 sw=2 et:
diff --git a/contrib/README b/contrib/README
index d8427037..c9ff86f4 100644
--- a/contrib/README
+++ b/contrib/README
@@ -1,8 +1,5 @@
Here is a brief description of the files included in this directory:
-PKGBUILD.proto, proto.install - prototype PKGBUILD and install files for
-creating packages using makepkg.
-
PKGBUILD.vim - a vim/gvim syntax file for PKGBUILDs. Colors known variable
names, highlights common errors such as invalid characters in pkgname or
pkgver, etc.
diff --git a/contrib/proto.install b/contrib/proto.install
deleted file mode 100644
index 074840e4..00000000
--- a/contrib/proto.install
+++ /dev/null
@@ -1,36 +0,0 @@
-# This is a default template for a post-install scriptlet. You can
-# remove any functions you don't need (and this header).
-
-# arg 1: the new package version
-pre_install() {
- /bin/true
-}
-
-# arg 1: the new package version
-post_install() {
- /bin/true
-}
-
-# arg 1: the new package version
-# arg 2: the old package version
-pre_upgrade() {
- /bin/true
-}
-
-# arg 1: the new package version
-# arg 2: the old package version
-post_upgrade() {
- /bin/true
-}
-
-# arg 1: the old package version
-pre_remove() {
- /bin/true
-}
-
-# arg 1: the old package version
-post_remove() {
- /bin/true
-}
-
-# vim:set ts=2 sw=2 et: