1 # Contributor: DonVla <donvla@users.sourceforge.net>
6 pkgdesc="A script providing centralized local package and PKGBUILD management"
8 url="http://sourceforge.net/apps/mediawiki/pkgman/index.php?title=Main_Page"
10 depends=('abs' 'curl' 'findutils' 'gawk' 'grep' 'pacman' 'sed')
11 optdepends=('namcap: check built packages'
12 'desktop-file-utils: validate desktop entry files'
13 'tree: formatted directory listing')
14 source=(http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.gz)
15 md5sums=('f319078995f8ed4aa462db13f7ff4081')
16 sha256sums=('f2c81f6c159b76a4418b0f1ffb9c561f8a113ac331bd3cf269250a859b9477e2')
19 cd "${srcdir}/${pkgname}-${pkgver}"
21 install -v -D -m 0755 pkgman.bash ${pkgdir}/usr/bin/pkgman
22 install -v -D -m 0644 pkgman ${pkgdir}/etc/bash_completion.d/pkgman
24 install -v -D -m 0644 pkgman.8 ${pkgdir}/usr/share/man/man8/pkgman.8
25 install -v -D -m 0644 AUR.conf ${pkgdir}/usr/share/pkgman/AUR.conf
26 install -v -m 0644 categories.list ${pkgdir}/usr/share/pkgman/
27 install -v -m 0644 pkgman.conf ${pkgdir}/usr/share/pkgman/
28 install -v -m 0644 prompt.bash ${pkgdir}/usr/share/pkgman/
30 install -v -m 0755 -d ${pkgdir}/usr/lib/pkgman
31 install -v -m 0644 lib_aur.bash ${pkgdir}/usr/lib/pkgman/
32 install -v -m 0644 lib_cleanup.bash ${pkgdir}/usr/lib/pkgman/
33 install -v -m 0644 lib_format.bash ${pkgdir}/usr/lib/pkgman/
34 install -v -m 0644 lib_init.bash ${pkgdir}/usr/lib/pkgman/
35 install -v -m 0644 lib_info.bash ${pkgdir}/usr/lib/pkgman/
36 install -v -m 0644 lib_list.bash ${pkgdir}/usr/lib/pkgman/
37 install -v -m 0644 lib_pkg.bash ${pkgdir}/usr/lib/pkgman/
38 install -v -m 0644 lib_start.bash ${pkgdir}/usr/lib/pkgman/
40 install -v -D -m 0644 proto.desktop ${pkgdir}/usr/share/pacman/proto.desktop
41 install -v -m 0644 PKGBUILD-lib32.proto ${pkgdir}/usr/share/pacman/
42 install -v -m 0644 PKGBUILD-meta.proto ${pkgdir}/usr/share/pacman/
45 # vim:set ts=2 sw=2 et: