1
0
mirror of https://github.com/moparisthebest/pacman synced 2025-02-28 09:21:53 -05:00

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>
This commit is contained in:
Dan McGee 2008-01-06 10:23:49 -06:00
parent e0e33c329f
commit d53388fb90
5 changed files with 4 additions and 5 deletions

View File

@ -7,6 +7,10 @@ endif
# AUTHORS, COPYING, NEWS, README # AUTHORS, COPYING, NEWS, README
EXTRA_DIST = HACKING EXTRA_DIST = HACKING
# Sample makepkg prototype files
pkgdatadir = ${datadir}/${PACKAGE}
dist_pkgdata_DATA = PKGBUILD.proto proto.install
# run the pactest test suite # run the pactest test suite
check-local: src/pacman check-local: src/pacman
$(PYTHON) $(top_srcdir)/pactest/pactest.py --debug=1 \ $(PYTHON) $(top_srcdir)/pactest/pactest.py --debug=1 \

View File

@ -1,10 +1,8 @@
EXTRA_DIST = \ EXTRA_DIST = \
PKGBUILD.proto \
PKGBUILD.vim \ PKGBUILD.vim \
bash_completion \ bash_completion \
pacdiff \ pacdiff \
pacsearch \ pacsearch \
proto.install \
re-pacman \ re-pacman \
vimproject \ vimproject \
wget-xdelta.sh \ wget-xdelta.sh \

View File

@ -1,8 +1,5 @@
Here is a brief description of the files included in this directory: 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 PKGBUILD.vim - a vim/gvim syntax file for PKGBUILDs. Colors known variable
names, highlights common errors such as invalid characters in pkgname or names, highlights common errors such as invalid characters in pkgname or
pkgver, etc. pkgver, etc.