dufs-bin bascially work
This commit is contained in:
parent
f1a4add697
commit
6c4dc655a5
1
debhelper/dufs-bin/debian/compat
Normal file
1
debhelper/dufs-bin/debian/compat
Normal file
|
@ -0,0 +1 @@
|
|||
12
|
14
debhelper/dufs-bin/debian/control
Normal file
14
debhelper/dufs-bin/debian/control
Normal file
|
@ -0,0 +1,14 @@
|
|||
Source: dufs
|
||||
Section: net
|
||||
Priority: optional
|
||||
Maintainer: leafee98 <me@leafee98.com>
|
||||
Build-Depends: debhelper (>= 10)
|
||||
|
||||
Package: dufs-bin
|
||||
Architecture: amd64
|
||||
Priority: optional
|
||||
Provides: dufs
|
||||
Conflicts: dufs
|
||||
Description: A distinctive utility webdav file server.
|
||||
Dufs is a distinctive utility file server that supports static
|
||||
serving, uploading, searching, accessing control, webdav...
|
1
debhelper/dufs-bin/debian/install
Normal file
1
debhelper/dufs-bin/debian/install
Normal file
|
@ -0,0 +1 @@
|
|||
dufs /usr/bin
|
30
debhelper/dufs-bin/debian/rules
Executable file
30
debhelper/dufs-bin/debian/rules
Executable file
|
@ -0,0 +1,30 @@
|
|||
#!/usr/bin/make -f
|
||||
|
||||
VERSION=0.41.0
|
||||
ARCHITECTURE=amd64
|
||||
PACKAGE_NAME=dufs
|
||||
DOWNLOAD_NAME=dufs-v$(VERSION)-x86_64-unknown-linux-musl.tar.gz
|
||||
DOWNLOAD_URL=https://github.com/sigoden/dufs/releases/download/v$(VERSION)/$(DOWNLOAD_NAME)
|
||||
|
||||
%:
|
||||
dh "$@"
|
||||
|
||||
leafee98_truncate_changelog:
|
||||
rm --force debian/changelog
|
||||
debchange --create \
|
||||
--package $(PACKAGE_NAME) \
|
||||
--newversion $(VERSION) \
|
||||
"Auto build"
|
||||
|
||||
|
||||
leafee98_prepare:
|
||||
curl --location \
|
||||
--show-error \
|
||||
--output $(DOWNLOAD_NAME) \
|
||||
$(DOWNLOAD_URL)
|
||||
tar -xf $(DOWNLOAD_NAME)
|
||||
|
||||
|
||||
override_dh_installsystemd:
|
||||
dh_installsystemd --name remark42 --no-enable --no-start --restart-after-upgrade
|
||||
|
Loading…
Reference in a new issue