mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 02:22:13 +08:00
Adding cli apps lftp & xclip
This commit is contained in:
parent
662d1d81b1
commit
61ad6c01ba
@ -1,6 +1,8 @@
|
||||
# $Id: PKGBUILD 84760 2010-07-04 06:05:09Z eric $
|
||||
# Contributor: Giovanni Scafora <giovanni@archlinux.org>
|
||||
# Contributor: Sebastien Piccand <sebcactus gmail com>
|
||||
#
|
||||
# Apps Packages for Chakra, part of chakra-project.org
|
||||
#
|
||||
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
|
||||
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
|
||||
|
||||
pkgbase=handbrake
|
||||
pkgname=('handbrake-cli')
|
||||
@ -16,9 +18,6 @@ md5sums=('e17d3663fc36a985fe43e188695e3196')
|
||||
build() {
|
||||
cd "$srcdir/HandBrake-$pkgver"
|
||||
|
||||
# Use Python 2
|
||||
#sed -i 's/python /python2 /' gtk/src/Makefile.am
|
||||
|
||||
./configure --prefix=/usr --force --disable-gtk --disable-gtk-update-checks
|
||||
cd build
|
||||
make
|
||||
|
43
lftp/PKGBUILD
Normal file
43
lftp/PKGBUILD
Normal file
@ -0,0 +1,43 @@
|
||||
#
|
||||
# Apps Packages for Chakra, part of chakra-project.org
|
||||
#
|
||||
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
|
||||
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
|
||||
|
||||
# contributor: mornik <mornik@gmail.com>
|
||||
|
||||
pkgname=lftp
|
||||
pkgver=4.1.3
|
||||
pkgrel=1
|
||||
pkgdesc="Sophisticated command line based FTP client with openssl"
|
||||
arch=('i686' 'x86_64')
|
||||
url="http://lftp.yar.ru/"
|
||||
license=('GPL3')
|
||||
depends=('gcc-libs' 'readline' "gnutls>=2.6.8" "expat>=2.0.1" 'perl')
|
||||
makedepends=('make')
|
||||
source=(http://ftp.yars.free.net/pub/source/lftp/${pkgname}-${pkgver}.tar.bz2)
|
||||
md5sums=('dd769dcef10296271bff05d283680f9a')
|
||||
install=lftp.install
|
||||
|
||||
build() {
|
||||
cd ${srcdir}/${pkgname}-${pkgver}
|
||||
|
||||
# Run configure
|
||||
|
||||
./configure
|
||||
|
||||
make || return 1
|
||||
}
|
||||
|
||||
package(){
|
||||
cd ${srcdir}/${pkgname}-${pkgver}
|
||||
|
||||
make DESTDIR=$pkgdir install
|
||||
}
|
||||
|
||||
|
||||
package() {
|
||||
cd ${srcdir}/${pkgname}-${pkgver}
|
||||
make DESTDIR=${pkgdir} install
|
||||
rm -rf ${pkgdir}/usr/lib
|
||||
}
|
12
lftp/lftp.install
Normal file
12
lftp/lftp.install
Normal file
@ -0,0 +1,12 @@
|
||||
pkgname=lftp
|
||||
post_install() {
|
||||
ln -s /usr/local/bin/lftp /usr/bin
|
||||
}
|
||||
|
||||
post_upgrade() {
|
||||
post_install
|
||||
}
|
||||
|
||||
post_remove() {
|
||||
rm /usr/bin/lftp
|
||||
}
|
24
xclip/PKGBUILD
Normal file
24
xclip/PKGBUILD
Normal file
@ -0,0 +1,24 @@
|
||||
#
|
||||
# Apps Packages for Chakra, part of chakra-project.org
|
||||
#
|
||||
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
|
||||
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
|
||||
|
||||
pkgname=xclip
|
||||
pkgver=0.12
|
||||
pkgrel=1
|
||||
pkgdesc="A command line utility that provides interface to Xclipboard."
|
||||
arch=('i686' 'x86_64')
|
||||
url="http://sourceforge.net/projects/xclip"
|
||||
license=('GPL')
|
||||
depends=('libxmu' 'sh')
|
||||
source=(http://downloads.sourceforge.net/sourceforge/xclip/$pkgname-$pkgver.tar.gz)
|
||||
md5sums=('f7e19d3e976fecdc1ea36cd39e39900d')
|
||||
sha1sums=('aed2cff18b9aecfe3377ad064c6a67518bbec211')
|
||||
|
||||
build() {
|
||||
cd "$srcdir/$pkgname-$pkgver"
|
||||
./configure --prefix=/usr || return 1
|
||||
make || return 1
|
||||
make DESTDIR="$pkgdir" install || return 1
|
||||
}
|
Loading…
Reference in New Issue
Block a user