You are not logged in.
Hi!
Just began with arch and its great.
I've created a PKGBUILD for keychain because I didn't found one...
Here it is.
pkgname=keychain
pkgver=2.5.3.1
pkgrel=2
pkgdesc="Load ssh keys in memory for passwordless connections"
url="http://www.gentoo.org/proj/en/keychain/index.xml"
license="GPL"
source=(http://dev.gentoo.org/~agriffis/keychain/$pkgname-$pkgver.tar.bz2)
md5sums=(7eb5e5c4b1aa197e60ff9bea2e39b44a)
build() {
cd $pkgname-$pkgver
install -D -m0755 keychain $startdir/pkg/usr/bin/keychain
}
EDIT: Corrected the last line, thanx for the correction, still new to this
Offline
There is an error in your PKGBUILD. It install the file directly in the system. The last line should be:
install -D -m0755 keychain $startdir/pkg/usr/bin/keychain
Offline
mith@middleearth|[~]:~ > pacman -Ss keychain
staging/keychain 2.4.3-s1
A ssh-keys manager
just to prove that there was a package that I made a while ago.. however it should be updated with yours
ArchLinux (x86_64) w/ kdemod
Offline
mith@middleearth|[~]:~ > pacman -Ss keychain staging/keychain 2.4.3-s1 A ssh-keys manager
just to prove that there was a package that I made a while ago.. however it should be updated with yours
That depends on what package rep you use... current/extra/unstable/testing doesn't have it. Some must have done v2.4.3-s1 but I didn't find it. Anyway, heres an updated one...:)
This way of working is really nice. No needs host the file, the script will download it. I'm loving pacman more and more! Also, pacman download everything before trying to install, so I can connect, download, disconnect and install...
Offline
root@dogma /var/abs/local/keychain # pacman -U keychain-2.5.3.1-1.pkg.tar.gz
loading package data... done.
checking for file conflicts...
error: the following file conflicts were found:
keychain: /usr/bin/keychain: exists in filesystem
errors occurred, no packages were upgraded.
Offline
This package works fine. (at least in my machine)
pkgname=keychain
pkgver=2.5.3.1
pkgrel=s1
pkgdesc="A ssh-keys manager"
url="http://www.gentoo.org/proj/en/keychain/index.xml"
license="GPL"
depends=('bash')
source=(http://dev.gentoo.org/~agriffis/keychain/$pkgname-$pkgver.tar.bz2)
md5sums=('7eb5e5c4b1aa197e60ff9bea2e39b44a')
build() {
cd $startdir/src/$pkgname-$pkgver
mkdir -p $startdir/pkg/usr/bin
mkdir -p $startdir/pkg/usr/man/man1
install -m0755 keychain $startdir/pkg/usr/bin/keychain
install keychain.1 $startdir/pkg/usr/man/man1
}
"What we cannot speak about we must pass over in silence" L. Wittgenstein
Offline
rmbalfa: use the -f switch to force the package to install
osigen: you can use -D switch on install to create those directories as needed with out mkdir -p.
Also,
mkdir -p $startdir/src/$pkgname/pkg/usr/{bin,man/man1}
will create both those directories in one shot.
Offline