~siborgium/dumbme

22fcfa21f98735fb31ad2daf217af569d0e6f146 — Sergey Smirnykh 10 months ago c93a94b
install via pkgbuild
2 files changed, 6 insertions(+), 3 deletions(-)

M Makefile
M PKGBUILD
M Makefile => Makefile +4 -1
@@ 7,7 7,10 @@ all: dumbme
dumbme: dumbme.c
	$(CC) $< $(CFLAGS) -o $@

install: dumbme
	install -D -o root -g root -m 755 $< "$(DESTDIR)/usr/bin/$<"

clean:
	rm dumbme

.PHONY: all clean
.PHONY: all clean install

M PKGBUILD => PKGBUILD +2 -2
@@ 1,6 1,6 @@

pkgname=dumbme
pkgver=1.2
pkgver=1.2.0.gc93a94b
pkgrel=1
pkgdesk="A simple wrapper around `rename`, designed for bulk renaming"
arch=('any')


@@ 18,5 18,5 @@ build() {
        make -C "$pkgname" all
}
package() {
        install -D -o root -g root -m 755 dumbme "$pkgdir/usr/bin/dumbme"
        make -C "$pkgname" install
}