File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ localedir = ${prefix}/share/locale
77
88INSTALL = /usr/bin/install -c
99UNINSTALL = rm -f
10+ MKDIR = mkdir -p
1011
1112PO_FILES = i18n/tr.po
1213
@@ -16,7 +17,13 @@ i18n: $(PO_FILES:po=mo)
1617% .mo : % .po
1718 msgfmt $< -o $@
1819
19- install :
20+ makedir :
21+ test -d " $( DESTDIR) ${bindir} " || $(MKDIR ) " $( DESTDIR) ${bindir} "
22+ test -d " $( DESTDIR) ${mandir} /man1" || $(MKDIR ) " $( DESTDIR) ${mandir} /man1"
23+ test -d " $( DESTDIR) ${mandir} /tr/man1" || $(MKDIR ) " $( DESTDIR) ${mandir} /tr/man1"
24+ test -d " $( DESTDIR) ${localedir} /tr/LC_MESSAGES" || $(MKDIR ) " $( DESTDIR) ${localedir} /tr/LC_MESSAGES"
25+
26+ install : makedir
2027 $(INSTALL ) -m 755 src/bootableusb \
2128 " $( DESTDIR) $( bindir) /bootableusb"
2229 $(INSTALL ) -m 644 man/bootableusb.1.en \
Original file line number Diff line number Diff line change 1+ # Maintainer: bugra9 <bugra9@gmail.com>
2+
3+ pkgname=bootableusb
4+ pkgver=0.3
5+ pkgrel=1
6+ pkgdesc=" Create bootable usb drives"
7+ arch=(' i686' ' x86_64' )
8+ url=" https://github.com/bugra9/BootableUSB"
9+ license=(' GPL3' )
10+ groups=()
11+ depends=()
12+ makedepends=()
13+ optdepends=()
14+ source=(" bootableusb::git+https://github.com/bugra9/BootableUSB.git" )
15+ md5sums=(' SKIP' )
16+
17+ build () {
18+ cd bootableusb
19+ make
20+ }
21+
22+ package () {
23+ cd bootableusb
24+ make DESTDIR=" $pkgdir " install
25+ }
Original file line number Diff line number Diff line change 2222# This is example for Cmake (See https://bugs.debian.org/641051 )
2323# override_dh_auto_configure:
2424# dh_auto_configure -- # -DCMAKE_LIBRARY_PATH=$(DEB_HOST_MULTIARCH)
25-
26- override_dh_auto_install :
27- mkdir -p debian/bootableusb/usr/bin
28- mkdir -p debian/bootableusb/usr/share/man/man1
29- mkdir -p debian/bootableusb/usr/share/man/tr/man1
30- mkdir -p debian/bootableusb/usr/share/locale/tr/LC_MESSAGES
31- dh_auto_install
You can’t perform that action at this time.
0 commit comments