Merge pull request #244 from Ypnose/master

dvtm: update to 0.10
This commit is contained in:
Juan RP 2014-01-01 09:16:56 -08:00
commit 843a787ea9
3 changed files with 38 additions and 11 deletions

View File

@ -0,0 +1,10 @@
[Unit]
Description=Dropbear SSH Daemon
After=network.target
[Service]
Type=simple
ExecStart=/usr/bin/dropbear -F -P /run/dropbear.pid
[Install]
WantedBy=multi-user.target

18
srcpkgs/dropbear/template Normal file
View File

@ -0,0 +1,18 @@
# Template file for 'dropbear'
pkgname=dropbear
version=2013.62
revision=1
build_style="gnu-configure"
configure_args="--sbindir=/usr/bin --enable-zlib"
makedepends="zlib-devel"
short_desc="Small SSH server and client."
maintainer="Ypnose <linuxienATlegtuxDOTorg>"
license="MIT"
homepage="https://matt.ucc.asn.au/dropbear/dropbear.html"
distfiles="https://matt.ucc.asn.au/${pkgname}/releases/${pkgname}-${version}.tar.bz2"
checksum=c6656302bbcc54b0a9c361f505822f6994039117ec32d2897ead3364da079ffa
post_install() {
vinstall ${FILESDIR}/dropbear.service 644 usr/lib/systemd/system/
vinstall LICENSE 644 usr/share/licenses/${pkgname}
}

View File

@ -1,7 +1,9 @@
# Template file for 'dvtm' # Template file for 'dvtm'
pkgname=dvtm pkgname=dvtm
version=0.9 version=0.10
revision=3 revision=1
build_style=gnu-makefile
make_build_args="INCS=-I."
makedepends="ncurses-devel" makedepends="ncurses-devel"
depends="ncurses" # needs tic at post-install depends="ncurses" # needs tic at post-install
short_desc="Tiling window manager for the console" short_desc="Tiling window manager for the console"
@ -9,18 +11,15 @@ maintainer="pancake <pancake@nopcode.org>"
homepage="http://www.brain-dump.org/projects/dvtm/" homepage="http://www.brain-dump.org/projects/dvtm/"
license="MIT/X11" license="MIT/X11"
distfiles="http://www.brain-dump.org/projects/dvtm/$pkgname-$version.tar.gz" distfiles="http://www.brain-dump.org/projects/dvtm/$pkgname-$version.tar.gz"
checksum=c751fb5778ecd24465c0db0e5ab9ac0a3e0dd61ab006708d6168fd609e81aa98 checksum=7750872578e259d86c79277c19f3715c1fd3ff8d4f6c300ff8e12b270db86651
do_build() { pre_build() {
# Do not run tic, useless in build environment. # Do not run tic, useless in build environment.
sed s,tic,/bin/true,g -i Makefile sed -i 's,tic,/bin/true,g' Makefile
sed -i 's,@strip,@${STRIP},g' Makefile
make PREFIX=/usr MANPREFIX=/usr/share/man ${makejobs} sed -i 's,LDFLAGS += -L/usr/lib -L/usr/local/lib,LDFLAGS += ,g' config.mk
} }
do_install() { post_install() {
make install DESTDIR=${DESTDIR} MANPREFIX=/usr/share/man PREFIX=/usr
# Install terminfo file to the correct dir.
vinstall dvtm.info 644 usr/share/terminfo/d vinstall dvtm.info 644 usr/share/terminfo/d
} }