-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #709 from mariux64/add-syncthing
add syncthing-0.14.46
- Loading branch information
Showing
1 changed file
with
55 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
#!/bin/env beesh | ||
|
||
# BEE_VERSION syncthing-0.14.46-1 | ||
|
||
## The source URL(s) array | ||
SRCURL[0]="https://github.com/syncthing/syncthing/releases/download/v${PKGVERSION}/syncthing-source-v${PKGVERSION}.tar.gz syncthing-v${PKGVERSION}.tar.gz" | ||
|
||
## Add URLs/paths to patch files | ||
# PATCHURL+=() | ||
|
||
## files that should not be added from the image directory. | ||
# EXCLUDE+=() | ||
|
||
## uncomment to change default | ||
build_in_sourcedir | ||
|
||
## specify different source directory | ||
# sourcesubdir_append src | ||
|
||
|
||
#mee_extract() { | ||
# bee_extract "${@}" | ||
#} | ||
|
||
#mee_patch() { | ||
# bee_patch | ||
#} | ||
|
||
#mee_configure() { | ||
# bee_configure | ||
#} | ||
|
||
mee_build() { | ||
|
||
go run build.go -no-upgrade | ||
|
||
} | ||
|
||
## mee_install() should install into "${D}" | ||
## default: 'make install DESTDIR="${D}"' | ||
|
||
mee_install() { | ||
|
||
mkdir -p ${D}/usr/bin | ||
cp ${S}/bin/syncthing ${D}/usr/bin | ||
|
||
mkdir -p ${D}/usr/share/man/man1 | ||
cp ${S}/man/syncthing.1 ${D}/usr/share/man/man1 | ||
|
||
mkdir -p ${D}/usr/share/man/man5 | ||
cp ${S}/man/syncthing-{config,stignore}.5 ${D}/usr/share/man/man5 | ||
|
||
mkdir -p ${D}/usr/share/man/man7 | ||
cp ${S}/man/syncthing-*.7 ${D}/usr/share/man/man7 | ||
} |