diff options
| -rw-r--r-- | debian/Makefile | 49 | ||||
| -rw-r--r-- | debian/compat | 1 | ||||
| -rw-r--r-- | debian/control | 9 | ||||
| -rwxr-xr-x | postinst (renamed from debian/postinst) | 0 |
4 files changed, 0 insertions, 59 deletions
diff --git a/debian/Makefile b/debian/Makefile deleted file mode 100644 index a6f1235..0000000 --- a/debian/Makefile +++ /dev/null @@ -1,49 +0,0 @@ -# GITVERSION=$(shell git rev-parse FETCH_HEAD) -VERSION=$(shell git describe --tags $(git rev-list --tags --max-count=1) | sed 's/^v//') - -BASENAME=go-deb - -all: help deb - -help: - @echo - @echo "make deb # attempt to build the .deb package using dpkg" - @echo - -deb: clean extract DEBIAN build - -clean: - rm -rf ../files - rm -f ../*.deb - rm -f ../*.tar.xz data.tar.xz - rm -rf DEBIAN - -extract: - mkdir -p ../files/usr/bin - mkdir -p ../files/usr/lib/${BASENAME} - cp ../README.md ../files/usr/lib/${BASENAME} - cp ../${BASENAME} ../files/usr/bin/ - -# makes the DEBIAN/ directory -DEBIAN: - mkdir -p DEBIAN - - # make the md5sum file - cd ../files/ && find -type f -exec md5sum '{}' \; |sort -k2 >../md5sums - mv ../md5sums DEBIAN/ - - # make the control there - mkdir -p DEBIAN - cp control DEBIAN/ - echo Version: ${VERSION} >>DEBIAN/control - - cp postinst DEBIAN - -build: - mv DEBIAN ../files/ - cd .. && dpkg-deb --build files ${BASENAME}_${VERSION}_amd64.deb - @echo - @echo '#######################' - cd .. && dpkg-deb --info ${BASENAME}_${VERSION}_amd64.deb - @echo '#######################' - @echo diff --git a/debian/compat b/debian/compat deleted file mode 100644 index f599e28..0000000 --- a/debian/compat +++ /dev/null @@ -1 +0,0 @@ -10 diff --git a/debian/control b/debian/control deleted file mode 100644 index 12f6b3b..0000000 --- a/debian/control +++ /dev/null @@ -1,9 +0,0 @@ -Source: go-deb -Build-Depends: golang -Package: go-deb -Maintainer: Jeff Carr <[email protected]> -Architecture: amd64 -Depends: -Recommends: libgtk-3-0, ddclient, ddupdate -Description: a control panel for DNS and IPv6 settings - Goals: show the settings, validate & update DNS diff --git a/debian/postinst b/postinst index 1a24852..1a24852 100755 --- a/debian/postinst +++ b/postinst |
