Create /var/run/asink properly on boot
This commit is contained in:
parent
e7bef89daa
commit
2a500ee93f
16
PKGBUILD
16
PKGBUILD
@ -2,15 +2,17 @@
|
|||||||
|
|
||||||
pkgname=go-asink-git
|
pkgname=go-asink-git
|
||||||
pkgver=0.1
|
pkgver=0.1
|
||||||
pkgrel=2
|
pkgrel=3
|
||||||
pkgdesc="An open source Dropbox clone"
|
pkgdesc="An open source Dropbox clone"
|
||||||
arch=('x86_64' 'i686')
|
arch=('x86_64' 'i686')
|
||||||
url="https://github.com/aclindsa/asink"
|
url="https://github.com/aclindsa/asink"
|
||||||
license=('GPL')
|
license=('GPL')
|
||||||
makedepends=('go' 'git')
|
makedepends=('go' 'git' 'sqlite')
|
||||||
options=('!strip' '!emptydirs')
|
options=('!strip' '!emptydirs')
|
||||||
source=("asink::git+https://github.com/aclindsa/asink#branch=master")
|
source=("asink::git+https://github.com/aclindsa/asink#branch=master"
|
||||||
sha256sums=('SKIP')
|
"tmpfiles_asink.conf")
|
||||||
|
sha256sums=('SKIP'
|
||||||
|
'a3ffee66244aaf41546f98f090990dbe2d4fce1bbd15f8721035484313b9d073')
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
source /etc/profile.d/go.sh
|
source /etc/profile.d/go.sh
|
||||||
@ -30,9 +32,11 @@ build() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
|
install -Dm644 tmpfiles_asink.conf "$pkgdir/usr/lib/tmpfiles.d/asink.conf"
|
||||||
|
|
||||||
cd $srcdir/bin
|
cd $srcdir/bin
|
||||||
install -Dm755 "asink" "$pkgdir/usr/bin/asink"
|
install -Dm755 asink "$pkgdir/usr/bin/asink"
|
||||||
install -Dm755 "asinkd" "$pkgdir/usr/bin/asinkd"
|
install -Dm755 asinkd "$pkgdir/usr/bin/asinkd"
|
||||||
|
|
||||||
cd $srcdir/src/asink
|
cd $srcdir/src/asink
|
||||||
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
|
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
|
||||||
|
1
tmpfiles_asink.conf
Normal file
1
tmpfiles_asink.conf
Normal file
@ -0,0 +1 @@
|
|||||||
|
D /run/asink 0755 root root
|
Loading…
Reference in New Issue
Block a user