Skip to content

Commit

Permalink
Add icon, desktop file and package build
Browse files Browse the repository at this point in the history
  • Loading branch information
schlomo committed Jun 25, 2014
1 parent a8a186a commit 96d5f33
Show file tree
Hide file tree
Showing 10 changed files with 2,038 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .gitignore
@@ -0,0 +1,3 @@
out/*
debian/automirror*
debian/files
27 changes: 27 additions & 0 deletions Makefile
@@ -0,0 +1,27 @@
.PHONY: all build test install clean deb
PACKAGE=automirror

all: build

build:
@echo No build required

test:
./runtests.sh

install:
mkdir -p $(DESTDIR)/usr/bin $(DESTDIR)/usr/share/applications $(DESTDIR)/usr/share/icons/hicolor/scalable/apps
install -m 0755 automirror.sh -D $(DESTDIR)/usr/bin/automirror
install -m 0644 automirror.desktop $(DESTDIR)/usr/share/applications
install -m 0644 automirror.svg $(DESTDIR)/usr/share/icons/hicolor/scalable/apps

clean:
rm -Rf debian/$(PACKAGE)* debian/files out/*

deb: clean
debuild -i -us -uc -b
mv ../$(PACKAGE)*.{deb,build,changes} out/
dpkg -I out/*.deb
dpkg -c out/*.deb

# vim: set ts=4 sw=4 tw=0 noet :
11 changes: 11 additions & 0 deletions automirror.desktop
@@ -0,0 +1,11 @@
[Desktop Entry]
Version=1.0
Encoding=UTF-8
Type=Application
Name=automirror
GenericName=Automatic Display Mirror
Exec=automirror
Icon=automirror
Terminal=false
Categories=Graphics;
Comment=Automatically configure attached monitors for screen mirroring

0 comments on commit 96d5f33

Please sign in to comment.