diff options
author | Martin Whitaker <mageia@martin-whitaker.me.uk> | 2018-11-13 23:11:05 +0000 |
---|---|---|
committer | Martin Whitaker <mageia@martin-whitaker.me.uk> | 2018-11-13 23:11:41 +0000 |
commit | c0590b5ea59cd5749f04fc296570e4e7b6d5ff9f (patch) | |
tree | ac83c937790f55862a54461843b13117adb6b0f1 | |
parent | 34304504466eac7e9f3fcd592f0d2f84d42f0c39 (diff) | |
download | qarepo-c0590b5ea59cd5749f04fc296570e4e7b6d5ff9f.tar qarepo-c0590b5ea59cd5749f04fc296570e4e7b6d5ff9f.tar.gz qarepo-c0590b5ea59cd5749f04fc296570e4e7b6d5ff9f.tar.bz2 qarepo-c0590b5ea59cd5749f04fc296570e4e7b6d5ff9f.tar.xz qarepo-c0590b5ea59cd5749f04fc296570e4e7b6d5ff9f.zip |
Add Makefile and NEWS.
-rw-r--r-- | Makefile | 26 | ||||
-rw-r--r-- | NEWS | 11 |
2 files changed, 37 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..c33f1e7 --- /dev/null +++ b/Makefile @@ -0,0 +1,26 @@ +NAME = qarepo +VERSION = 1.6 + +DESTDIR= + +all: + sed -i "s/version = '.*';/version = 'v${VERSION}';/" qarepo + +check: + perl -cw qarepo + +install: + install -d $(DESTDIR)/usr/bin + install -d $(DESTDIR)/usr/libexec + install -d $(DESTDIR)/usr/share/applications + install -d $(DESTDIR)/usr/share/polkit-1/actions + install -d $(DESTDIR)/usr/share/polkit-1/rules.d + install -m 0755 qarepo $(DESTDIR)/usr/bin + install -m 0755 qarepo-helper $(DESTDIR)/usr/libexec + install -m 0644 qarepo.desktop $(DESTDIR)/usr/share/applications + install -m 0644 org.mageia.qarepo-helper.policy $(DESTDIR)/usr/share/polkit-1/actions + install -m 0644 org.mageia.qarepo-helper.rules $(DESTDIR)/usr/share/polkit-1/rules.d + +dist: + @git archive --prefix=$(NAME)-$(VERSION)/ HEAD | xz > $(NAME)-$(VERSION).tar.xz; + $(info $(NAME)-$(VERSION).tar.xz is ready) @@ -0,0 +1,11 @@ +- use polkit for authentication instead of sudo +- only accept limited abbreviations of full package names + o only the arch and .rpm extension may be omitted + o use wildcards and fuzzy version for anything else +- add check that no updates_testing media are currently enabled +- add option to suggest a downgrade command +- rename main program to just 'qarepo' + +1.5: + +- ensure a '+' in a package name is taken literally |