aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Fadel <samuelfadel@gmail.com>2014-06-07 14:15:23 -0300
committerSamuel Fadel <samuelfadel@gmail.com>2014-06-07 14:15:23 -0300
commit9cc25bdabe7e519e1645d8ae9234849f5c6780be (patch)
tree7487a3fb8660ec6a58c762f735e865cbb69c9f62
parenta070dd2988908a307c4703e3290d656c1b3df3cb (diff)
Removed PKGBUILD. Minor modifications to Makefile.
-rw-r--r--Makefile6
-rw-r--r--PKGBUILD21
2 files changed, 3 insertions, 24 deletions
diff --git a/Makefile b/Makefile
index 77effa2..6f1ad27 100644
--- a/Makefile
+++ b/Makefile
@@ -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
-}