How to build nextcloud-server package
Ivan Jurišić edited this page 3 days ago

How to build debian package

Install package for build debian packages:

apt-get install build-essential devscripts dh-make apache2-dev git

Download debian package source:

git clone https://git.jurisic.org/apt/buster.git

Example if you want to rebuild nextcloud-server package:

cd buster/nextcloud-server
uscan --download-current-version

Now lets move in new folder with source,add information in changelog:

cd ../nextcloud-server-18.0.3
dch

Build package:

dpkg-buildpackage -b -rfakeroot -us -uc