diff options
-rw-r--r-- | Makefile | 6 | ||||
-rw-r--r-- | PKGBUILD | 21 |
2 files changed, 3 insertions, 24 deletions
@@ -2,7 +2,7 @@ PREFIX = /usr INCS = `pkg-config --cflags gtk+-2.0 vte` LIBS = `pkg-config --libs gtk+-2.0 vte` -CFLAGS = -ansi -pedantic -Wall -O3 ${INCS} +CFLAGS = -ansi -pedantic -Wall -O2 ${INCS} LDFLAGS = -s ${LIBS} VER = 0.7 CC = cc @@ -29,12 +29,12 @@ clean: dist: PKGBUILD @echo creating distributable tarball @mkdir T-${VER} - @cp -R src/ PKGBUILD T.desktop Makefile T-${VER} + @cp -R src/ T.desktop Makefile T-${VER} @tar cf T-${VER}.tar.bz2 T-${VER} @rm -rf T-${VER} install: all @echo installing executable file in ${DESTDIR}${PREFIX}/bin @install -D -m755 T ${DESTDIR}${PREFIX}/bin/T - @echo installing icon in ${DESTDIR}${PREFIX}/share/applications + @echo installing desktop file in ${DESTDIR}${PREFIX}/share/applications @install -D -m644 T.desktop ${DESTDIR}${PREFIX}/share/applications/T.desktop diff --git a/PKGBUILD b/PKGBUILD deleted file mode 100644 index da55dde..0000000 --- a/PKGBUILD +++ /dev/null @@ -1,21 +0,0 @@ -# Maintainer: Samuel Fadel <samuelfadel at DOMAIN> (DOMAIN is gmail dot com) - -pkgname=T -pkgver=0.7 -pkgrel=1 -pkgdesc="Lean Terminal emulator" -arch=('i686' 'x86_64') -license=('GPL') -depends=('gtk2' 'vte') -source=("http://domain.tld/${pkgname}-${pkgver}.tar.bz2") -sha1sums=('1a0170b0e48eead516dfdb7e9c8ac34e36c5177d') - -build() { - cd "${srcdir}/${pkgname}-${pkgver}" - make -} - -package() { - cd "${srcdir}/${pkgname}-${pkgver}" - make DESTDIR=${pkgdir} install -} |