mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-01-17 23:34:07 +00:00
aur updates
This commit is contained in:
parent
6e5b52f41d
commit
7b913a6cea
7 changed files with 53 additions and 76 deletions
|
@ -1,17 +1,15 @@
|
|||
# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
|
||||
# Contributor: Lothar Gesslein <ulmen@cryptomilch.de>
|
||||
|
||||
plugrel=1
|
||||
|
||||
pkgname=aoetools
|
||||
pkgver=32
|
||||
pkgver=35
|
||||
pkgrel=1
|
||||
pkgdesc="ATA over Ethernet Tools"
|
||||
arch=('i686' 'x86_64')
|
||||
url="http://aoetools.sourceforge.net/"
|
||||
license=('GPL')
|
||||
source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz)
|
||||
md5sums=('62c8b5664d413019d0008f27ab5dc4d1')
|
||||
sha256sums=('837684fd8c5ccd15ce82d8e01e5e68e59b3045df200d5d68dc09f458baf33c7c')
|
||||
|
||||
build() {
|
||||
cd ${srcdir}/$pkgname-$pkgver
|
||||
|
|
|
@ -2,34 +2,33 @@
|
|||
# Previous Maintainer: Valère Monseur <valere dot monseur at ymail dot com>
|
||||
|
||||
pkgname=compton-git
|
||||
pkgver=290.dfd4dd1
|
||||
pkgver() {
|
||||
cd $srcdir/compton
|
||||
echo $(git rev-list --count master).$(git rev-parse --short master)
|
||||
}
|
||||
epoch=1
|
||||
_gitname=compton
|
||||
pkgver=2013.04.21.g85e7d18
|
||||
pkgrel=1
|
||||
pkgdesc="X Compositor (a fork of xcompmgr-dana)"
|
||||
arch=(i686 x86_64)
|
||||
url="https://github.com/chjj/compton"
|
||||
license=('MIT')
|
||||
depends=('libx11' 'libxcomposite' 'libxdamage' 'libxfixes' 'libxext' 'libxrender' 'libxrandr' 'xproto' 'bash' 'xorg-xprop' 'xorg-xwininfo' 'pcre' 'libconfig')
|
||||
makedepends=('git' 'make' 'pkg-config' 'asciidoc' 'libgl')
|
||||
source=("compton::git://github.com/chjj/compton.git")
|
||||
|
||||
_gitname="compton"
|
||||
depends=('libgl' 'dbus' 'libxcomposite' 'libxdamage' 'libxrandr' 'pcre' 'libconfig')
|
||||
makedepends=('git' 'asciidoc')
|
||||
source=("git://github.com/chjj/compton.git")
|
||||
md5sums=("SKIP")
|
||||
|
||||
pkgver() {
|
||||
cd "${srcdir}/${_gitname}"
|
||||
git log -1 --format="%cd.g%h" --date=short | sed 's/-/./g'
|
||||
}
|
||||
|
||||
build() {
|
||||
cd "$_gitname"
|
||||
make
|
||||
cd "$srcdir/$_gitname"
|
||||
make PREFIX=/usr
|
||||
make docs
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$_gitname"
|
||||
cd "$srcdir/$_gitname"
|
||||
|
||||
make DESTDIR="$pkgdir" PREFIX=/usr install
|
||||
make PREFIX="$pkgdir/usr" install
|
||||
|
||||
# install license
|
||||
install -D -m644 "LICENSE" "$pkgdir/usr/share/licenses/$_gitname/LICENSE"
|
||||
|
@ -37,4 +36,3 @@ package() {
|
|||
# example conf
|
||||
install -D -m644 "compton.sample.conf" "$pkgdir/etc/xdg/compton.conf.example"
|
||||
}
|
||||
md5sums=('SKIP')
|
||||
|
|
|
@ -1,37 +1,27 @@
|
|||
# Maintainer: Ben Ruijl <benruyl at gmail>
|
||||
|
||||
pkgname=couchpotato-git
|
||||
pkgver=1796.0eff4f0
|
||||
pkgver() {
|
||||
cd "$srcdir/$pkgname"
|
||||
echo $(git rev-list --count master).$(git rev-parse --short master)
|
||||
}
|
||||
epoch=1
|
||||
_gitname=CouchPotatoServer
|
||||
pkgver=f1dde5c
|
||||
pkgrel=1
|
||||
pkgdesc="Automatic Movie Downloading via NZBs & Torrent"
|
||||
arch=('i686' 'x86_64')
|
||||
arch=('any')
|
||||
url="http://couchpota.to/"
|
||||
license=('unknown')
|
||||
license=('GPL3')
|
||||
depends=('python2')
|
||||
makedepends=('git')
|
||||
install='couchpotato.install'
|
||||
backup=('etc/conf.d/couchpotato' 'etc/conf.d/couchpotato_systemd')
|
||||
source=('couchpotato' 'couchpotato.init' 'couchpotato.conf' 'couchpotato_systemd.conf' 'couchpotato.service' "$pkgname::git://github.com/RuudBurger/CouchPotatoServer.git")
|
||||
md5sums=('a7db842a8af532847ef41890f6714819'
|
||||
'a7711d04d2db7de96f067e484c29f709'
|
||||
'2c3c045ae9c5f5bf4bc0972917c19071'
|
||||
'c22c7a797415131baf0fbe092132abda'
|
||||
'bdedef6bcb8d04c534bd094047885fa7'
|
||||
'SKIP')
|
||||
source=('git://github.com/RuudBurger/CouchPotatoServer.git' 'couchpotato.service')
|
||||
md5sums=('SKIP' '82813cd00a17dd78f10756d71c7eb848')
|
||||
|
||||
pkgver() {
|
||||
cd $_gitname
|
||||
git describe --always | sed 's|-|.|g'
|
||||
}
|
||||
|
||||
package() {
|
||||
install -d "${pkgdir}/opt/"
|
||||
cp -dpr --no-preserv=ownership "$srcdir/$pkgname" "${pkgdir}/opt/couchpotato"
|
||||
mkdir -p "${pkgdir}/opt/"
|
||||
cp -r "$srcdir/$_gitname" "${pkgdir}/opt/couchpotato"
|
||||
|
||||
install -D -m755 "${srcdir}/couchpotato" "${pkgdir}/usr/bin/couchpotato"
|
||||
install -D -m755 "${srcdir}/couchpotato.init" "${pkgdir}/etc/rc.d/couchpotato"
|
||||
install -D -m644 "${srcdir}/couchpotato.conf" "${pkgdir}/etc/conf.d/couchpotato"
|
||||
install -D -m644 "${srcdir}/couchpotato_systemd.conf" "${pkgdir}/etc/conf.d/couchpotato_systemd"
|
||||
install -D -m644 "${srcdir}/couchpotato.service" "${pkgdir}/usr/lib/systemd/system/couchpotato.service"
|
||||
install -Dm644 "${srcdir}/couchpotato.service" "${pkgdir}/usr/lib/systemd/system/couchpotato.service"
|
||||
}
|
||||
|
|
|
@ -1,18 +1,22 @@
|
|||
CP_USER="couchpotato"
|
||||
CP_GROUP="couchpotato"
|
||||
CP_DIR="/opt/couchpotato"
|
||||
|
||||
## arg 1: the new package version
|
||||
post_install() {
|
||||
groupadd couchpotato &> /dev/null
|
||||
useradd -g couchpotato -d /opt/couchpotato -s /bin/false couchpotato &> /dev/null
|
||||
chown -R couchpotato:couchpotato /opt/couchpotato
|
||||
echo " >> If you change CouchPotato's port in the general configuration page, you will need to edit /etc/conf.d/couchpotato (or /etc/conf.d/couchpotato_systemd) to have it point to the new port number"
|
||||
groupadd ${CP_GROUP} &> /dev/null
|
||||
useradd -g ${CP_GROUP} -d ${CP_DIR} -s /bin/false ${CP_USER} &> /dev/null
|
||||
chown -R ${CP_USER}:${CP_GROUP} ${CP_DIR}
|
||||
echo " >> If you want a custom user or path for CouchPotato, remember to edit the service file as well."
|
||||
}
|
||||
## arg 1: the new package version
|
||||
## arg 2: the old package version
|
||||
post_upgrade() {
|
||||
chown -R couchpotato:couchpotato /opt/couchpotato
|
||||
chown -R ${CP_USER}:${CP_GROUP} ${CP_DIR}
|
||||
}
|
||||
|
||||
## arg 1: the old package version
|
||||
post_remove() {
|
||||
userdel couchpotato &> /dev/null
|
||||
groupdel sabnzbd &> /dev/null || /bin/true
|
||||
userdel ${CP_USER} &> /dev/null
|
||||
groupdel ${CP_GROUP} &> /dev/null || /bin/true
|
||||
}
|
||||
|
|
|
@ -2,8 +2,7 @@
|
|||
Description=An automatic NZB and torrent movie downloader
|
||||
|
||||
[Service]
|
||||
EnvironmentFile=/etc/conf.d/couchpotato_systemd
|
||||
ExecStart=/usr/bin/python2 /opt/couchpotato/CouchPotato.py $CP_OPTS
|
||||
ExecStart=/usr/bin/python2 /opt/couchpotato/CouchPotato.py --config_file /opt/couchpotato/config.ini --data_dir /opt/couchpotato/data --daemon --quiet
|
||||
GuessMainPID=no
|
||||
Type=forking
|
||||
User=couchpotato
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
pkgname=reaver-wps-svn
|
||||
pkgver=113
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
pkgdesc="Brute force attack against Wifi Protected Setup (WPS) registrar PINs in order to recover WPA/WPA2 passphrases"
|
||||
arch=('i686' 'x86_64' 'mips64el')
|
||||
url="http://code.google.com/p/reaver-wps/"
|
||||
|
@ -11,35 +11,23 @@ depends=('libpcap' 'sqlite')
|
|||
makedepends=('subversion')
|
||||
provides=('reaver-wps')
|
||||
conflicts=('reaver-wps')
|
||||
source=('svn+http://reaver-wps.googlecode.com/svn/trunk/')
|
||||
sha512sums=('SKIP')
|
||||
|
||||
_svntrunk='http://reaver-wps.googlecode.com/svn/trunk/'
|
||||
_svnmod='reaver-wps'
|
||||
pkgver() {
|
||||
cd "${SRCDEST}/trunk/"
|
||||
svnversion
|
||||
}
|
||||
|
||||
build() {
|
||||
cd "${srcdir}"
|
||||
msg "Connecting to SVN server...."
|
||||
cd "${srcdir}/trunk/src/"
|
||||
|
||||
if [[ -d "${_svnmod}/.svn" ]]; then
|
||||
(cd "${_svnmod}" && svn up -r "${pkgver}")
|
||||
else
|
||||
svn co "${_svntrunk}" --config-dir ./ -r "${pkgver}" "${_svnmod}"
|
||||
fi
|
||||
|
||||
msg "SVN checkout done or server timeout"
|
||||
msg "Starting build..."
|
||||
|
||||
rm -rf "${srcdir}/${_svnmod}-build"
|
||||
cp -r "${srcdir}/${_svnmod}" "${srcdir}/${_svnmod}-build"
|
||||
cd "${srcdir}/${_svnmod}-build"
|
||||
|
||||
cd 'src'
|
||||
|
||||
./configure --prefix=/usr
|
||||
./configure --prefix=/usr --sysconfdir=/etc
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "${srcdir}/${_svnmod}-build"
|
||||
cd "${srcdir}/trunk/"
|
||||
pushd src
|
||||
install -dm755 "${pkgdir}/usr/bin/"
|
||||
install -m755 reaver "${pkgdir}/usr/bin/"
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
pkgname=tt-rss
|
||||
_realname=Tiny-Tiny-RSS
|
||||
pkgver=1.7.8
|
||||
pkgver=1.7.9
|
||||
pkgrel=1
|
||||
pkgdesc="Tiny Tiny RSS is an open source web-based news feed (RSS/Atom) aggregator, designed to allow you to read news from any location, while feeling as close to a real desktop application as possible."
|
||||
arch=('any')
|
||||
|
@ -16,7 +16,7 @@ backup=()
|
|||
install=tt-rss.install
|
||||
|
||||
source=(https://github.com/gothfox/Tiny-Tiny-RSS/archive/${pkgver}.tar.gz tt-rss-updated.rc tt-rss-updated.service)
|
||||
md5sums=('efd7eec1629db379896fb7e74bba400e'
|
||||
md5sums=('d4980f9646cf588ada3956ca9ffba754'
|
||||
'd4dbb037f2392eb9f4a91c6ae96863cc'
|
||||
'd3ba69d6f0d0a6bce7fab7f235d6afdf')
|
||||
|
||||
|
|
Loading…
Reference in a new issue