2 #Maintainer: Yichao Yu <yyc1992@gmail.com>
3 #Contributor: Yichao Yu <yyc1992@gmail.com>
8 pkgdesc="Simple utilities, git version"
12 url="https://github.com/yuyichao/s-util"
14 depends=('bash' 'coreutils' 'findutils' 'grep' 'awk' 'sed')
15 optdepends=('xdg-utils: for using xopen to open any kind of files without annoy cli output'
16 'openssl: for grub certificate from website'
17 'nss: for add certificate in to database'
18 'wget: for using recget to download recursively'
19 'texlive-bin: for using texit to generate a tmp pdf'
20 'curl: for netman and mitclass'
24 _gitroot='https://yuyichao@github.com/yuyichao/s-util.git'
29 msg "Connecting to github.com"
31 if [ -d "$startdir/src/$_gitname" ] ;then
32 cd "$startdir/src/$_gitname" && git pull origin
33 msg "The local files are updated."
37 msg "GIT checkout done or server timeout"
39 cd "$srcdir/$_gitname"
46 cmake .. -DCMAKE_INSTALL_PREFIX=/usr
50 cd "${srcdir}/$_gitname/build"
51 make DESTDIR="${pkgdir}" install