index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Allan McRae <allan@archlinux.org> | 2012-09-24 14:34:13 +1000 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2012-11-27 15:16:15 +1000 |
commit | 3232c975c6e67a01f201cc7e341f979420cd3645 (patch) | |
tree | d1b0e5defd08ca8a80d64ed7349f2dc5e3f052f9 /scripts | |
parent | 93148d0879c501235a51c0f9f5f7e457c6efd445 (diff) |
-rw-r--r-- | scripts/makepkg.sh.in | 4 |
diff --git a/scripts/makepkg.sh.in b/scripts/makepkg.sh.in index 5e8ada3a..a9d8e64c 100644 --- a/scripts/makepkg.sh.in +++ b/scripts/makepkg.sh.in @@ -2696,6 +2696,10 @@ fi fullver=$(get_full_version) msg "$(gettext "Making package: %s")" "$pkgbase $fullver ($(date))" +if (( !PKGFUNC && !SPLITPKG )); then + warning "$(gettext "Using a %s without a %s function is deprecated.")" "$BUILDSCRIPT" "package()" +fi + # if we are creating a source-only package, go no further if (( SOURCEONLY )); then if [[ -f $SRCPKGDEST/${pkgbase}-${fullver}${SRCEXT} ]] \ |