summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorhaawda2020-10-16 17:56:59 +0200
committerhaawda2020-10-16 17:56:59 +0200
commitdb2a3f9b36861ec4bd7d5045a56f2378870d0b6b (patch)
treea4c583952313eebd1d284e92a3e06fdf134d9457 /PKGBUILD
parentf837ee796a1da5d1602cd13f857f9f9bf1664b54 (diff)
downloadaur-db2a3f9b36861ec4bd7d5045a56f2378870d0b6b.tar.gz
add docs
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD13
1 files changed, 10 insertions, 3 deletions
diff --git a/PKGBUILD b/PKGBUILD
index f0b252965f6..eef859025a8 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -7,12 +7,11 @@ arch=('i686' 'x86_64')
url="http://www.gerd-neugebauer.de/software/TeX/BibTool/"
license=('GPL')
depends=('texlive-bin' 'glibc')
-makedepends=('git')
+makedepends=('git' 'texlive-core')
provides=('bibtool')
conflicts=('bibtool')
source=("git+https://github.com/ge-ne/bibtool")
md5sums=('SKIP')
-options=('!makeflags')
pkgver() {
cd ${pkgname%-git}
@@ -24,10 +23,18 @@ build() {
autoreconf
./configure --prefix=/usr
make
+ cd doc
+ make
}
package() {
cd ${pkgname%-git}
- install -d "$pkgdir"/usr/bin
+ install -d "$pkgdir"/usr/bin "$pkgdir"/usr/share/docs/$pkgname "$pkgdir"/usr/share/man/man1
make INSTALLPREFIX="$pkgdir/" install
+ cd doc
+ for _i in *.pdf
+ do
+ install -Dm644 ${_i} "$pkgdir"/usr/share/docs/$pkgname/${_i}
+ done
+ install -Dm644 ${pkgname%-git}.1 "$pkgdir"/usr/share/man/man1
}